This commit is contained in:
Manuel Simon Hirsig
2016-07-12 18:45:31 +02:00
parent ff41ba837c
commit 7eef768e67
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ end
function public.abort(scan_id)
local aborted_threads = {}
for t, thread in pairs(threads) do
for t, thread in threads do
if not scan_id or thread.id == scan_id then
Aux.control.kill_thread(thread.id)
threads[t] = nil