liberty.core.memory

Members

Functions

ensureNotInGC
void ensureNotInGC(string resourceName)

It's recommended to use this call before releasing a resource in destructor. Usually, it's used in debug configuration.

Variables

scopeDisableGC
auto scopeDisableGC;

Use this macro at the begining of the function body to disable GC during the function execution. It will be automatically enabled at the end of the function scope. Do not use this macro if GC is globally disabled.

Meta

Authors

$(Gabriel Gheorghe)

License

GNU GENERAL PUBLIC LICENSE Version 3 Source Documentation: Coverage: