stack fix

This commit is contained in:
Manuel Simon Hirsig
2016-03-24 21:30:35 +01:00
parent f0997eaaf4
commit 379219b13f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ function public.stop()
Aux.control.kill_thread(state.thread_id)
local callback, slot = state.callback, state.target_slot
if not private.matching_item(slot) then
if slot and not private.matching_item(slot) then
slot = nil
end