[Gambas-user] Signal and quit issue

Brian G brian at westwoodsvcs.com
Tue Apr 19 20:27:29 CEST 2022


Yes you are correct, Here is without the wait... Dumb 

It behaves just the same. 

"Failure is the key to success; 
each mistake teaches us something" .. Morihei Ueshiba 
Brian G 

----- On Apr 19, 2022, at 11:04 AM, Jussi Lahtinen <jussi.lahtinen at gmail.com> wrote: 

> 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 < [ mailto:brian at westwoodsvcs.com |
> 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 |
>> http://gambaswiki.org/wiki/doc/netiquette ] ]----

> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220419/4ac920a8/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TestQuit-1.0.10.tar.gz.gmail.txt
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220419/4ac920a8/attachment-0001.txt>


More information about the User mailing list