fix few bugs

This commit is contained in:
Olivier Gagnon
2022-07-21 18:27:23 -04:00
parent 590bc37db0
commit 631d6ef04a
2 changed files with 9 additions and 0 deletions

View File

@@ -18,4 +18,5 @@ export function finish(this: IPlayer, cancelled: boolean): void {
if (this.currentWork === null) return;
this.currentWork.finish(this, cancelled);
this.currentWork = null;
this.focus = false;
}