mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Part 2 - Make Model view components disposable + dispose all emitters (#24097)
This commit is contained in:
@@ -1566,7 +1566,7 @@
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^7.0.2",
|
||||
"@microsoft/vscodetestcover": "^1.2.2",
|
||||
"@microsoft/azdata-test": "^3.0.1",
|
||||
"@microsoft/azdata-test": "^3.0.3",
|
||||
"mocha": "^7.1.1",
|
||||
"should": "^13.2.3",
|
||||
"typemoq": "^2.1.0"
|
||||
|
||||
@@ -81,6 +81,7 @@ export abstract class DialogBase<DialogResult> {
|
||||
this.dialogObject.registerContent(async view => {
|
||||
this._modelView = view;
|
||||
this._formContainer = this.createFormContainer([]);
|
||||
this.disposables.push(this._formContainer);
|
||||
this._loadingComponent = view.modelBuilder.loadingComponent().withItem(this._formContainer).withProps({
|
||||
loading: true,
|
||||
loadingText: uiLoc.LoadingDialogText,
|
||||
|
||||
@@ -203,10 +203,10 @@
|
||||
tmp "^0.0.33"
|
||||
yauzl "^2.10.0"
|
||||
|
||||
"@microsoft/azdata-test@^3.0.1":
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@microsoft/azdata-test/-/azdata-test-3.0.1.tgz#a8b89a12de42f277d33aae71c277d0c8efcfbee0"
|
||||
integrity sha512-Zrctm/zKufwIRF9jfw8TOBzr5woLdKXAGNTlbAQl0IGLzVoIGULj9Gqdc1Ikhrov3rM0NkbAF/PY6j6BHiW8Tw==
|
||||
"@microsoft/azdata-test@^3.0.3":
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@microsoft/azdata-test/-/azdata-test-3.0.3.tgz#a1b5bbead5412ac7925129e6199d724bfc8117ee"
|
||||
integrity sha512-Whit8+MpNN/Kkx3R9CGT26FhYNzkjNyOb6dsaqkMq1scpO3JCeNJqhcSqTTsSbkRVdAKoYrJcpLZdoO9D1X/yw==
|
||||
dependencies:
|
||||
http-proxy-agent "^5.0.0"
|
||||
https-proxy-agent "^5.0.0"
|
||||
|
||||
Reference in New Issue
Block a user