refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-28 21:39:53 +02:00
parent cf79cfd8cd
commit 4b8b0cd9d0
7 changed files with 26 additions and 28 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ function UPDATE()
end
end
listeners = filter(listeners, function(l) return not l.killed end) -- TODO wipe tables instead
threads = filter(threads, function(th) return not th.killed end)
filter(listeners, function(l) return not l.killed end)
filter(threads, function(th) return not th.killed end)
for id, thread in threads do
if not thread.killed then