Skip to content

Commit

Permalink
Merge pull request #17 from ekharkunov/fix-double-init
Browse files Browse the repository at this point in the history
Fix double init in case of exception in runApp
  • Loading branch information
AGulev authored Nov 27, 2024
2 parents ca244c6 + f9c9c7b commit eb3f751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poki-sdk/manifests/web/engine_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Module['onRuntimeInitialized'] = function() {
PokiSDK.init().then(()=>{
Module.runApp("canvas");
}).catch(()=>{
}, ()=>{
Module.runApp("canvas");
});
};
Expand Down

0 comments on commit eb3f751

Please sign in to comment.