diff --git a/packages/superdough/synth.mjs b/packages/superdough/synth.mjs index c08fd8c1..dd048174 100644 --- a/packages/superdough/synth.mjs +++ b/packages/superdough/synth.mjs @@ -27,7 +27,7 @@ const getFrequencyFromValue = (value) => { }; function destroyAudioWorkletNode(node) { if (node == null) { - return + return; } node.disconnect(); node.parameters.get('end')?.setValueAtTime(0, 0);