[Gambas-user] Mutex destroy failure
Mike Keehan
mike_keehan at ...679...
Sun Nov 14 20:26:32 CET 2004
Benoit Minisini wrote:
> On Friday 12 November 2004 22:07, Mike Keehan wrote:
>
>>Hi Benoit,
>>
>>When Quit is used with a xxx_Timer() subroutine, it produces the
>>following error on the console in the IDE:-
>>
>> WARNING: circular references detected
>> Form1 (1)
>> Mutex destroy failure: Device or resource busy
>> WARNING: 8 allocation(s) non freed.
>>
>>OK, it's not a very elegant way of shutting down the application, but
>>the error might be worth looking into.
>>
>>This is with the 0.99RC2 version (plus earlier ones I think).
>>
>>Mike.
>
>
> QUIT brutally aborts the interpreter, and try to free things as cleanly as
> possible.
>
> But sometimes it may fails, and some objects may not be freed. So your
> messages...
>
> Try to replace your QUIT by ME.Close.
>
> Regards,
>
Oh I've done that already :)
It was only an observation really, while I was playing with various
ways of exiting my app.
Thanks for your time, and for Gambas of course.
Mike.
More information about the User
mailing list