@netless/window-manager 1.0.10-beta.1 → 1.0.10-beta.2
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/App/AppProxy.ts +0 -3
- package/src/AppManager.ts +0 -2
package/package.json
CHANGED
package/src/App/AppProxy.ts
CHANGED
|
@@ -282,16 +282,13 @@ export class AppProxy implements PageRemoveService {
|
|
|
282
282
|
await this.destroy(true, false, true);
|
|
283
283
|
return;
|
|
284
284
|
}
|
|
285
|
-
console.log('onReconnected====>', this.id);
|
|
286
285
|
this.appEmitter.emit("reconnected", undefined);
|
|
287
286
|
const currentAppState = this.getAppInitState(this.id);
|
|
288
|
-
console.log('onReconnected====>0000', currentAppState?.boxStatus);
|
|
289
287
|
await this.destroy(true, false, true);
|
|
290
288
|
const params = this.params;
|
|
291
289
|
const AppProxyClass = getExtendClass(AppProxy, WindowManager.extendClass);
|
|
292
290
|
const appProxy = new AppProxyClass(params, this.manager, this.id, this.isAddApp);
|
|
293
291
|
await appProxy.baseInsertApp(true);
|
|
294
|
-
console.log('onReconnected====>', currentAppState?.boxStatus);
|
|
295
292
|
this.boxManager?.updateBoxState(currentAppState);
|
|
296
293
|
}
|
|
297
294
|
|
package/src/AppManager.ts
CHANGED
|
@@ -467,7 +467,6 @@ export class AppManager {
|
|
|
467
467
|
};
|
|
468
468
|
|
|
469
469
|
private notifyBoxesStatusChange = debounce(() => {
|
|
470
|
-
console.log('setBoxesStatus====>', this.attributes.boxesStatus);
|
|
471
470
|
this.boxManager?.setBoxesStatus(this.attributes.boxesStatus);
|
|
472
471
|
const entries = Object.entries(this.attributes.boxesStatus);
|
|
473
472
|
if (entries.length > 0) {
|
|
@@ -485,7 +484,6 @@ export class AppManager {
|
|
|
485
484
|
return safeListenPropsUpdated(
|
|
486
485
|
() => this.attributes.boxesStatus,
|
|
487
486
|
() => {
|
|
488
|
-
console.log('setBoxesStatus====>000', this.attributes.boxesStatus);
|
|
489
487
|
this.notifyBoxesStatusChange();
|
|
490
488
|
}
|
|
491
489
|
);
|