mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
clearException after manually registration.
This commit is contained in:
@@ -552,6 +552,8 @@ bool register_javascript_java_bridge(se::Object* obj)
|
||||
cls->install();
|
||||
__jsb_JavaScriptJavaBridge_class = cls;
|
||||
|
||||
se::ScriptEngine::getInstance()->clearException();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user