From ad8d3409fec4d7d4fd728f364a139947ff1185e3 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 21 Sep 2024 19:06:08 +0200 Subject: fix(Variable): remove explicit run_dispose let gc collect them --- core/gjs/src/variable.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'core/gjs/src') diff --git a/core/gjs/src/variable.ts b/core/gjs/src/variable.ts index 84f8cc5..8739ef6 100644 --- a/core/gjs/src/variable.ts +++ b/core/gjs/src/variable.ts @@ -101,7 +101,6 @@ class VariableWrapper extends Function { drop() { this.variable.emit("dropped") - idle(() => this.variable.run_dispose()) } onDropped(callback: () => void) { -- cgit v1.2.3