Lint requires no empty blocks: pass comment
This commit is contained in:
parent
659071a4ee
commit
d64a0ef0eb
1 changed files with 6 additions and 2 deletions
|
|
@ -222,10 +222,14 @@ export function webAudioTimeout(audioContext, onComplete, startTime, stopTime) {
|
||||||
// Ensure garbage collection
|
// Ensure garbage collection
|
||||||
try {
|
try {
|
||||||
zeroGain.disconnect();
|
zeroGain.disconnect();
|
||||||
} catch {}
|
} catch {
|
||||||
|
// pass
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
constantNode.disconnect();
|
constantNode.disconnect();
|
||||||
} catch {}
|
} catch {
|
||||||
|
// pass
|
||||||
|
}
|
||||||
onComplete();
|
onComplete();
|
||||||
};
|
};
|
||||||
constantNode.start(startTime);
|
constantNode.start(startTime);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue