[Gambas-user] getting warning when quitting running application
bsteers4 at gmail.com
Wed May 11 18:12:09 CEST 2022
On Wed, 11 May 2022 at 16:59, Charles Bukowski <
charlesbukowski.italy at gmail.com> wrote:
> Hi, I am using quit command to end an application.
> But I get the following from the ide console :
> gbx3 : warning: 1 allocation(s) non freed.
> Is there a way to understand what is allocating resources and destroy it?
> Or can this warning being ignored?
It will probably be some kind of object that was created and needs to be
Are you using Quit because the application won't exit cleanly otherwise?
(that's never really the best way to go)
Make sure all file handles / timers / processes are stopped/killed
Add a few object killing things to your Form_Close() event like..
ThisObjectCreated = Null
ThisOtherObjectCreated = Null
without seeing your code it's hard to guess what it could be.
As for an actual way to track down exactly what it is there may be a debug
option but i forget it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User