fix some React errors

This commit is contained in:
Olivier Gagnon
2022-07-21 15:24:03 -04:00
parent 2d522ea1e6
commit 5c551348ed
3 changed files with 33 additions and 32 deletions

View File

@@ -15,7 +15,6 @@ export function process(this: IPlayer, cycles = 1): void {
}
}
export function finish(this: IPlayer, cancelled: boolean): void {
console.error("finishing");
if (this.currentWork === null) return;
this.currentWork.finish(this, cancelled);
this.currentWork = null;