Skip to content

Commit

Permalink
Merge pull request #4906 from cwisniew/fix-4905
Browse files Browse the repository at this point in the history
Fix onFirstInit running every time when there is JS but no MTS
  • Loading branch information
kwvanderlinde authored Nov 12, 2024
2 parents dc948f9 + 59a3eb5 commit e8c7ba9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@ void initialize() {
if (mtScriptEventNameMap.containsKey(FIRST_INIT_EVENT)) {
callMTSFunction(mtScriptEventNameMap.get(FIRST_INIT_EVENT))
.join();
data.setNeedsToBeInitialized(false).join();
}
data.setNeedsToBeInitialized(false).join();
}
if (jsEventNameMap.containsKey(INIT_EVENT)) {
runJS(jsEventNameMap.get(INIT_EVENT));
Expand Down

0 comments on commit e8c7ba9

Please sign in to comment.