Skip to content

Commit bac4b09

Browse files
committed
fix: bug where samples dont reload, closes #95
1 parent e57f859 commit bac4b09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CsoundContext.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ const reducer = (state, action) => {
116116
).then(() => {});
117117
return pipe(
118118
assoc("isPaused", false),
119-
assoc("isPlaying", false)
119+
assoc("isPlaying", false),
120+
assoc("loadedSamples", [])
120121
)(state);
121122
}
122123
case "play": {

0 commit comments

Comments
 (0)