@codingame/monaco-vscode-scm-service-override 26.2.2 → 28.0.0

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.
@@ -60,7 +60,7 @@ let RepositoryPicker = class RepositoryPicker {
60
60
  this._quickInputService = _quickInputService;
61
61
  this._scmViewService = _scmViewService;
62
62
  this._autoQuickPickItem = {
63
- label: ( localize(11145, "Auto")),
63
+ label: ( localize(12096, "Auto")),
64
64
  description: this._autoQuickItemDescription,
65
65
  repository: "auto"
66
66
  };
@@ -481,6 +481,7 @@ let SCMViewService = class SCMViewService {
481
481
  }
482
482
  dispose() {
483
483
  this.disposables.dispose();
484
+ this._onDidFocusRepository.dispose();
484
485
  this._onDidChangeRepositories.dispose();
485
486
  this._onDidSetVisibleRepositories.dispose();
486
487
  }
@@ -66,25 +66,25 @@ class SCMInput extends Disposable {
66
66
  this.repository = repository;
67
67
  this.history = history;
68
68
  this._value = "";
69
- this._onDidChange = ( new Emitter());
69
+ this._onDidChange = this._register(( new Emitter()));
70
70
  this.onDidChange = this._onDidChange.event;
71
71
  this._placeholder = "";
72
- this._onDidChangePlaceholder = ( new Emitter());
72
+ this._onDidChangePlaceholder = this._register(( new Emitter()));
73
73
  this.onDidChangePlaceholder = this._onDidChangePlaceholder.event;
74
74
  this._enabled = true;
75
- this._onDidChangeEnablement = ( new Emitter());
75
+ this._onDidChangeEnablement = this._register(( new Emitter()));
76
76
  this.onDidChangeEnablement = this._onDidChangeEnablement.event;
77
77
  this._visible = true;
78
- this._onDidChangeVisibility = ( new Emitter());
78
+ this._onDidChangeVisibility = this._register(( new Emitter()));
79
79
  this.onDidChangeVisibility = this._onDidChangeVisibility.event;
80
- this._onDidChangeFocus = ( new Emitter());
80
+ this._onDidChangeFocus = this._register(( new Emitter()));
81
81
  this.onDidChangeFocus = this._onDidChangeFocus.event;
82
- this._onDidChangeValidationMessage = ( new Emitter());
82
+ this._onDidChangeValidationMessage = this._register(( new Emitter()));
83
83
  this.onDidChangeValidationMessage = this._onDidChangeValidationMessage.event;
84
- this._onDidClearValidation = ( new Emitter());
84
+ this._onDidClearValidation = this._register(( new Emitter()));
85
85
  this.onDidClearValidation = this._onDidClearValidation.event;
86
86
  this._validateInput = () => Promise.resolve(undefined);
87
- this._onDidChangeValidateInput = ( new Emitter());
87
+ this._onDidChangeValidateInput = this._register(( new Emitter()));
88
88
  this.onDidChangeValidateInput = this._onDidChangeValidateInput.event;
89
89
  this.didChangeHistory = false;
90
90
  if (this.repository.provider.rootUri) {
@@ -165,6 +165,8 @@ class SCMRepository {
165
165
  }
166
166
  dispose() {
167
167
  this.disposables.dispose();
168
+ this._onDidChangeSelection.dispose();
169
+ this.input.dispose();
168
170
  this.provider.dispose();
169
171
  }
170
172
  }