mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-13 20:39:06 +00:00
close audio context when disposing
This commit is contained in:
parent
b91b34d792
commit
77e89734c2
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ export class Context extends BaseContext {
|
|||
Object.keys(this._constants).map((val) =>
|
||||
this._constants[val].disconnect()
|
||||
);
|
||||
this.close();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue