From 51afa82566d088d950643f2a2aa62b5d553620ac Mon Sep 17 00:00:00 2001 From: Paul Liverman Date: Thu, 27 Nov 2014 16:31:17 -0800 Subject: [PATCH] fixed #2 ( vrld#1 ) --- slam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slam.lua b/slam.lua index eee0ab5..a8aaba5 100644 --- a/slam.lua +++ b/slam.lua @@ -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