fixed #2 ( vrld#1 )

This commit is contained in:
Paul Liverman 2014-11-27 16:31:17 -08:00
parent 38b1cbb4dc
commit 51afa82566

View File

@ -37,7 +37,7 @@ Source.__newindex = function(_,k) error(('Cannot write key %s'):format(tostring(
local function remove_stopped(sources)
local remove = {}
for s in pairs(sources) do
remove[s] = true
if (s:isStopped()) then remove[s] = true end
end
for s in pairs(remove) do
sources[s] = nil