]> git.saurik.com Git - logizomai.git/commitdiff
Add a forgotten super.finalize() in ResourceArray.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 24 Oct 2017 11:30:53 +0000 (04:30 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 24 Oct 2017 11:30:53 +0000 (04:30 -0700)
lib/index.ts

index d19a05af1e73a1cfb0d7fbb78f75843fd060cfe1..41da6f5a3917e0b24ba6b7626b63ebb654069963 100644 (file)
@@ -343,6 +343,7 @@ export class ResourceArray<Value extends Resource | null> extends Resource {
             if (value !== null)
                 value.release();
         this.array.length = 0;
+        super.finalize();
     }
 
     public fill(value: Value): this {