@netless/window-manager 1.0.11-beta.1 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/window-manager",
3
- "version": "1.0.11-beta.1",
3
+ "version": "1.0.12",
4
4
  "description": "Multi-window mode for Netless Whiteboard",
5
5
  "author": "l1shen <lishen1635@gmail.com> (https://github.com/l1shen)",
6
6
  "license": "MIT",
package/src/AppManager.ts CHANGED
@@ -762,7 +762,7 @@ export class AppManager {
762
762
  public async closeApp(appId: string, needClose = true) {
763
763
  const appProxy = this.appProxies.get(appId);
764
764
  if (appProxy) {
765
- appProxy.destroy(true, needClose, false);
765
+ await appProxy.destroy(true, needClose, false);
766
766
  }
767
767
  }
768
768