[Gambas-user] Signal and quit issue

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Apr 19 20:04:16 CEST 2022


SGN11 is almost always a bug.
But now it seems to be your error. Remove the "Wait 0" from the event
handler. You should never use "wait" inside an event handler, but "sleep"
if necessary.

Jussi

On Tue, Apr 19, 2022 at 8:09 PM Brian G <brian at westwoodsvcs.com> wrote:

> Here is the program, it does strange things if you run it in the ide
>
> Build the executable
> Run it in bash
> do a ctrl-c which does a quit, you will see that quit never returns and
> you can resize, and hit ctrl-c as often as you like
> it will not quit, seems to hang.
>
> Maybe you just can not do that from there...
>
> if you run it a few times in the IDE it will do a segfault 11... but it
> all seems pretty random
>
> Maybe I am doing something wrong, it is generally like the app I had
> causing the issue.
> Maybe my coding is causing the issue.
>
>
> "Failure is the key to success;
>  each mistake teaches us something"  .. Morihei Ueshiba
> Brian G
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220419/480b7c6a/attachment.htm>


More information about the User mailing list