Skip to content

Commit 0f900b1

Browse files
Fix audio bug on simulator soft reboot (#71)
1 parent af6fc42 commit 0f900b1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/board/audio/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,7 @@ export class Audio {
138138
}
139139
}
140140

141-
boardStopped() {
142-
if (this.context) {
143-
this.context.close();
144-
this.context = undefined;
145-
this.oscillator = undefined;
146-
}
147-
}
141+
boardStopped() {}
148142
}
149143

150144
class BufferedAudio {

0 commit comments

Comments
 (0)