Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Nov 10, 2023
1 parent 142f4ae commit 1d3c603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export class Editor {
}

private setPeriodicSave(interval: number): void {
setInterval(saveBeforeExit(this), interval)
setInterval(() => saveBeforeExit(this), interval)
}
}

Expand Down

0 comments on commit 1d3c603

Please sign in to comment.