diff --git a/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp b/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp index d9ed7a935f..3576b7f327 100644 --- a/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp +++ b/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp @@ -2653,6 +2653,7 @@ bool FJsEnvImpl::ClearDelegate(v8::Isolate* Isolate, v8::Local& Con { Iter->second.Proxy->JsFunction.Reset(); SysObjectRetainer.Release(Iter->second.Proxy.Get()); + Iter->second.Proxy.Reset(); } Iter->second.JsCallbacks.Reset(Isolate, v8::Array::New(Isolate));