mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
Fire model view close event when destroyed (#1427)
This commit is contained in:
@@ -36,6 +36,7 @@ export class MainThreadModelView extends Disposable implements MainThreadModelVi
|
||||
let handle = MainThreadModelView._handlePool++;
|
||||
this._dialogs.set(handle, view);
|
||||
this._proxy.$registerWidget(handle, view.id, view.connection, view.serverInfo);
|
||||
view.onDestroy(() => this._proxy.$onClosed(handle));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user