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 9, 2025
1 parent 3f3ca52 commit 6a43cc3
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 @@ -2155,8 +2155,8 @@ export default {
return instance.resetState();
},

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

Expand Down

0 comments on commit 6a43cc3

Please sign in to comment.