mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-24 02:27:37 +00:00
Don't leak teardowns
This commit is contained in:
parent
318489a74c
commit
30ed04c3f7
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ export default class Disposable {
|
|||
teardown.dispose();
|
||||
}
|
||||
});
|
||||
this._teardowns = [];
|
||||
this.disposed = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue