From f008708a833c2a91e1ff5fe9f717f4c00418a89d Mon Sep 17 00:00:00 2001 From: johnche Date: Fri, 12 Jan 2024 10:01:24 +0800 Subject: [PATCH] =?UTF-8?q?[unreal]JsEnv=E7=9A=84v8=20flags=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=EF=BC=8Cfix=20https://github.com/Tencent/pue?= =?UTF-8?q?rts/issues/1629#issuecomment-1888277789?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp b/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp index 20317d23..8b4c8b15 100644 --- a/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp +++ b/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp @@ -356,9 +356,8 @@ FJsEnvImpl::FJsEnvImpl(std::shared_ptr 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;