Working version of supersaw, almost on wavetable
This commit is contained in:
parent
600ab0a83e
commit
6610713018
4 changed files with 22 additions and 5 deletions
|
|
@ -38,6 +38,10 @@ export const releaseNodeToPool = (node) => {
|
|||
// not reusable
|
||||
return;
|
||||
}
|
||||
if (node[IS_WORKLET_DEAD]) {
|
||||
// Worklet already terminated, don't pool it
|
||||
return;
|
||||
}
|
||||
// Fallback to a type-based key if the node was not created via getNodeFromPool
|
||||
const key = node[POOL_KEY];
|
||||
if (key == null) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue