We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.5
5
Editor(win)
No response
JsEnvImpl的构造函数在纯v8的环境下没有正确处理传入的InFlags。
InFlags
puerts/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp
Lines 345 to 360 in 6256231
第359行这个#else会导致 纯v8环境下无法走进去V8::SetFlagsFromString。
V8::SetFlagsFromString
The text was updated successfully, but these errors were encountered:
都想不起为啥这样写了,可能是笔误吧。。
Sorry, something went wrong.
你试了直接去掉else,endif提前生效吗?
我是直接把#else那边替换成了#endif。感觉是个笔误。
21d3c71
应该不能都调用v8::V8::SetFlagsFromString,这是全局的,而前面那段主要是希望只对单虚拟机生效。 这里直接去掉v8::V8::SetFlagsFromString比较合适,可以另外加个静态函数作为全局生效的接口。
[unreal]JsEnv的v8 flags不生效,fix Tencent/puerts#1629 (comment)
f008708
chexiongsheng
No branches or pull requests
前置阅读 | Pre-reading
Puer的版本 | Puer Version
1.0.5
UE的版本 | UE Version
5
发生在哪个平台 | Platform
Editor(win)
错误信息 | Error Message
No response
问题重现 | Bug reproduce
JsEnvImpl的构造函数在纯v8的环境下没有正确处理传入的
InFlags
。puerts/unreal/Puerts/Source/JsEnv/Private/JsEnvImpl.cpp
Lines 345 to 360 in 6256231
第359行这个#else会导致 纯v8环境下无法走进去
V8::SetFlagsFromString
。The text was updated successfully, but these errors were encountered: