mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-27 23:38:49 -04:00
Formatting
This commit is contained in:
@@ -619,8 +619,5 @@ export const releaseAudioNode = (node) => {
|
||||
|
||||
// Once the `anchor` node has ended, release all nodes in `toCleanup`
|
||||
export const cleanupOnEnd = (anchor, toCleanup) => {
|
||||
onceEnded(
|
||||
anchor,
|
||||
() => toCleanup.forEach((n) => releaseAudioNode(n)),
|
||||
);
|
||||
onceEnded(anchor, () => toCleanup.forEach((n) => releaseAudioNode(n)));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user