return;
}
- if (_finishedCallbackOfNative != null)
+ if (_animationFinishedEventHandler != null)
{
FinishedSignal().Disconnect(_finishedCallbackOfNative);
+ _animationFinishedEventHandler = null;
}
if (_animationProgressReachedEventCallback != null)
{
ProgressReachedSignal().Disconnect(_animationProgressReachedEventCallback);
+ _animationProgressReachedEventCallback = null;
}
base.Dispose(type);
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
{
+ if(swigCPtr.Handle == IntPtr.Zero || this.HasBody() == false)
+ {
+ Tizen.Log.Fatal("NUI", $"[ERROR] Animation ReleaseSwigCPtr()! IntPtr=0x{swigCPtr.Handle:X} HasBody={this.HasBody()}");
+ return;
+ }
Interop.Animation.delete_Animation(swigCPtr);
}