Skip to content

Commit

Permalink
race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nkallen committed Feb 15, 2022
1 parent 2653129 commit 091b52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/editor/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export class Editor {
this._activeViewport = v;
}

clear() {
this.backup.clear();
async clear() {
await this.backup.clear();
ipcRenderer.invoke('reload');
}

Expand Down

0 comments on commit 091b52b

Please sign in to comment.