small control refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-03-06 15:36:10 +01:00
parent 5527b3e84c
commit 32c1e5fc5b
+3 -1
View File
@@ -94,7 +94,9 @@ do
end
function public.kill_thread(thread_id)
private.threads[thread_id].killed = true
if thread_id and private.threads[thread_id] then
private.threads[thread_id].killed = true
end
end
function public.wait(...)