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
Add (Type, Handle) to ThreadLocal<List<Type, nuint>> ToDispose
Checkthread function:
if(!ToDispose.Value.IsEmpty){for((type, ptr)in ToDispose.Value)
type switch{typeof(View)=> Methods.ulDestroyView((Handle<View>)ptr),_ =>thrownew OutOfRangeException()};
ToDispose.Value.Clear();// make sure it cleans up internal array}
The text was updated successfully, but these errors were encountered:
IsDisposed
onthis
totrue
GC.SupressFinalize(this)
(Type, Handle)
toThreadLocal<List<Type, nuint>> ToDispose
Checkthread function:
The text was updated successfully, but these errors were encountered: