diff --git a/page/src/playground.tsx b/page/src/playground.tsx index 9a103a1a..d607f071 100644 --- a/page/src/playground.tsx +++ b/page/src/playground.tsx @@ -150,6 +150,10 @@ export class Playground extends React.Component< } } + componentWillUnmount(): void { + this.state.emulator?.stop(); + } + async resetFilesys() { if (!this.state.filesystem) { return;