[Gambas-user] Mutex destroy failure

Benoit Minisini gambas at ...1...
Sun Nov 14 18:32:27 CET 2004


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,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list