destroy after removal from controller host
This commit is contained in:
@@ -29,9 +29,9 @@ export class UmbContextProviderController<T = unknown> extends UmbContextProvide
|
||||
}
|
||||
|
||||
public destroy() {
|
||||
super.destroy();
|
||||
if (this.#host) {
|
||||
this.#host.removeController(this);
|
||||
}
|
||||
super.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user