protected override void Dispose(bool disposing) { InstanceCache.Remove(NativeInstance); if (OwnsNativeInstance) { Urho3D_StringVector_destructor(NativeInstance); } }
protected override void Dispose(bool disposing) { InstanceCache.Remove(NativeInstance); if (OwnsNativeInstance) { Urho3D_HashMap_StringHash_Variant_destructor(NativeInstance); } }
public override void Dispose() { if (Interlocked.Increment(ref disposed_) == 1) { InstanceCache.Remove(instance_); Urho3D_StringVector_destructor(instance_); } instance_ = IntPtr.Zero; }
public override void Dispose() { if (Interlocked.Increment(ref DisposedCounter) == 1) { InstanceCache.Remove(NativeInstance); if (OwnsNativeInstance) { Urho3D_StringVector_destructor(NativeInstance); } } NativeInstance = IntPtr.Zero; }