runtime clean up

This commit is contained in:
Niels Lyngsø
2024-10-11 21:26:01 +02:00
parent 6e368faa27
commit d38da0eb80
2 changed files with 6 additions and 0 deletions

View File

@@ -205,4 +205,9 @@ export abstract class UmbElementPropertyDatasetContext<
}
this._dataOwner.finishPropertyValueChange();
}
override destroy() {
super.destroy();
this.#propertyVariantIdMap.destroy();
}
}

View File

@@ -291,6 +291,7 @@ export class UmbDocumentWorkspaceContext
override resetState() {
super.resetState();
this.#data.clear();
this.removeUmbControllerByAlias(UmbWorkspaceIsNewRedirectControllerAlias);
}
async loadLanguages() {