You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use of finalization is rightfully deprecated and problematic. Memory management of GObjects and other native types should be moved to use a cleaner-like mechanism with PhantomReferences. This should also take into account alternative options for managing handles for native objects in addressing #122 and #78
The text was updated successfully, but these errors were encountered:
OK, extend current WeakReference in NativeObject to encapsulate the native pointer (actually a PointerType) and handle the various ref, unref, dispose, invalidate behaviours. Need to pass up from subclasses along with Initializer?
Use of finalization is rightfully deprecated and problematic. Memory management of GObjects and other native types should be moved to use a cleaner-like mechanism with PhantomReferences. This should also take into account alternative options for managing handles for native objects in addressing #122 and #78
The text was updated successfully, but these errors were encountered: