Skip to content

Commit

Permalink
await destroy engine
Browse files Browse the repository at this point in the history
  • Loading branch information
owencraston committed Jan 8, 2025
1 parent 6287a64 commit 05f78fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/Engine/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2152,8 +2152,8 @@ export default {
return instance.resetState();
},

destroyEngine() {
instance?.destroyEngineInstance();
destroyEngine: async () => {
await instance?.destroyEngineInstance();
instance = null;
},

Expand Down

0 comments on commit 05f78fc

Please sign in to comment.