mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-01 21:37:42 -04:00
[perf] fix connect-leak added by #1742 when noise() is not used
This commit is contained in:
@@ -493,6 +493,7 @@ export function getOscillator(s, t, value, onended) {
|
||||
}
|
||||
|
||||
o.onended = () => {
|
||||
o.disconnect();
|
||||
noiseMix?.node.disconnect();
|
||||
onended();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user