Skip to content

Conversation

IceBBBBB
Copy link
Contributor

No description provided.

@@ -1,4 +1,7 @@

-- jit off
local jit = require("jit")
jit.off()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have to disable jit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to security concerns, JIT needs to be turned off;We will consider adapting the third-party library to disable JIT in the future

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then it is better to only disable on OHOS and do it in mainmenu.lua.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to security concerns, JIT needs to be turned off;We will consider adapting the third-party library to disable JIT in the future

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But current implementation disable it for all platforms.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry,modified

@minggo minggo merged commit a7de6f0 into cocos2d:cocos2d-x-3.3-oh Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants