[Gambas-bugtracker] Bug #2310: Gambas Apps have isssues talking to other gambas apps started with exec

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Jul 27 03:01:39 CEST 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2310&from=L21haW4-

Comment #21 by Benoît MINISINI:

The commit https://gitlab.com/gambas/gambas/-/commit/1943dbfcf940b5b6c8bf7cb7e3feddf5033b90c8 should fix most of your problems.

But you must not write your event loop that way:

While <condition>
  Wait
Wend

Because you are creating a busy loop that eats the CPU.

You must write:

While <condition>
  Wait Next
Wend

Or, if you are in the Main() function, better not write anything at all, as the event loop is automatically run when the Main() function ends.

Benoît MINISINI changed the state of the bug to: NeedsInfo.




More information about the Bugtracker mailing list