[Gambas-user] App keeps running after closing since Gambas 3.17.2

Bruce Steers bsteers4 at gmail.com
Wed May 25 17:28:20 CEST 2022


On Wed, 25 May 2022 at 14:43, Claus Dietrich <claus.dietrich at freenet.de>
wrote:

> My Gambas web-radio app doesn't quit entirely when I close it. This
> happens since I upgraded to Gambas 3.17.2. A counter check with Gambas
> 3.16.3 confirmed that this is a new problem. To make the app quit under
> Gambas 3.17.2 I have to add a Quit command as last command in
> Form_Close(). I regard this as bad stile and prefer to know, what causes
> this problem.
>
> Unfortunately the app is very comprehensive and has some pending copy
> right subjects relating to the radio station logos. So it would be hard
> to strip it down to a bug demo app. It uses the SpectrumPlayer class
> from Adrien Prokopowicz which might relate to the issue, but I couldn't
> find any reason. Does anyone have a first guess, similar experience or
> an advise how to approach this problem?
>
> Running the project with gdb gbx3 showed the same problem and I needed
> to kill the pending gbx3 process.
>
> Claus
>

When Form closes check the following...
All Timers are stopped
All open file/pipe streams are closed.

Some created class objects may also need to be destroyed

Ie.
mySpectrumPlayer = Null


BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220525/91bbb0ae/attachment-0001.htm>


More information about the User mailing list