Because the point of stop-all is to exit the thread, not pause it.
so again i ask the same question Ace_coder implied
is there somer eason not to use pause?
The downside to Reload is that it wipes the global variables and re-executes the autoexecute section. For me this is not a big deal but I can imagine scenarios where this would be a problem and Reload would not work.
loop send hi ` Esc::Exit 2Pressing Esc would exit the current (interrupting) thread (the one started by the Esc key) and the one directly underneath it (the one it interrupted), i.e. the loop.
I need this functionality for my ahksandbox.
ahksandbox already prevents all insecure commands and functions, but is still vulnerable to denial of service via infinite loops.
the ability to kill all threads would allow the host script to do that after a time out for misbehaving scripts in the sandbox.
Will probably butcher the source to make it work one way or another...
+1 for this wish.
I was searching all over the place for a way to immediately interrupt and kill/cancel any thread. I think it would be immensely useful. Had to make an account just to say this.. plus I see that it is very very old. I hope one day it will be updated.