Re: Simple lua-script thread cancellation
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Simple lua-script thread cancellation
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2007年3月16日 10:16:13 -0300
When the user presses "Cancel" in the GUI, set all hooks and in the hook
handler call lua_error. If you need to tell when a script has been canceled
in this way, call lua_error with your own error object.
--lhf