Skip to content

Commit

Permalink
[unreal]Tencent/puerts#1652 的补充
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Feb 4, 2024
1 parent 522de18 commit 5abdac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2653,6 +2653,7 @@ bool FJsEnvImpl::ClearDelegate(v8::Isolate* Isolate, v8::Local<v8::Context>& 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));
Expand Down

0 comments on commit 5abdac8

Please sign in to comment.