MORE CODE REVIEW

This commit is contained in:
Vanilagy
2026-04-16 18:27:51 +02:00
parent b85ecd3109
commit 95e9dc5210
8 changed files with 72 additions and 93 deletions
+3 -1
View File
@@ -233,7 +233,9 @@ export class SourceRef<S extends Source = Source> implements Disposable {
* Calls {@link SourceRef.free}.
*/
[Symbol.dispose]() {
this.free();
if (!this.freed) {
this.free();
}
}
}