GC operates in LIFO sequence?
MGW via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 9 06:46:29 PDT 2017
Memory allocation and deallocation when an application is being
completed in GC operates in FIFO sequence.
Is there a possibility to shift GC memory deallocation to LIFO
mode?
It`s connected with the fact that GUI library (Qt) creates
QApplication first,
but GC destroys this object first when an application is being
completed. This leads to the application failure.
If the sequence of memory deallocation on LIFO is shifted, it
will essentially simplify the cooperation with C++ libraries.
More information about the Digitalmars-d
mailing list