Skip to content

Commit

Permalink
[unreal]JsEnv的v8 flags不生效,fix #1629 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jan 12, 2024
1 parent 1caef25 commit 21d3c71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,8 @@ FJsEnvImpl::FJsEnvImpl(std::shared_ptr<IJSModuleLoader> InModuleLoader, std::sha
CreateParams.constraints.set_max_old_generation_size_in_bytes(Val * 1024 * 1024);
}
}
#else
v8::V8::SetFlagsFromString(TCHAR_TO_UTF8(*InFlags));
#endif
v8::V8::SetFlagsFromString(TCHAR_TO_UTF8(*InFlags));
}

Started = false;
Expand Down

0 comments on commit 21d3c71

Please sign in to comment.