Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/src/lib/abstracts/instance.ts
Original file line number Diff line number Diff line change
@@ -278,7 +278,7 @@ export abstract class NgtInstance<

const dispose = (this.instance.value as UnknownRecord)['dispose'];
if (dispose && typeof dispose === 'function') {
dispose();
dispose.apply(this.instance.value as any);
}

this.set({ attach: [] } as unknown as Partial<TInstanceState>);

0 comments on commit 49ff57c

Please sign in to comment.