Skip to content

Commit

Permalink
Merge pull request #129224 from tony-xia/update-method-name
Browse files Browse the repository at this point in the history
Update method name
  • Loading branch information
alexdima authored Aug 20, 2021
2 parents b1bc635 + 504f934 commit df8fe74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vs/editor/common/viewModel/viewModelEventDispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ViewModelEventDispatcher extends Disposable {

public emitOutgoingEvent(e: OutgoingViewModelEvent): void {
this._addOutgoingEvent(e);
this._emitOugoingEvents();
this._emitOutgoingEvents();
}

private _addOutgoingEvent(e: OutgoingViewModelEvent): void {
Expand All @@ -49,7 +49,7 @@ export class ViewModelEventDispatcher extends Disposable {
this._outgoingEvents.push(e);
}

private _emitOugoingEvents(): void {
private _emitOutgoingEvents(): void {
while (this._outgoingEvents.length > 0) {
if (this._collector || this._isConsumingViewEventQueue) {
// right now collecting or emitting view events, so let's postpone emitting
Expand Down Expand Up @@ -104,7 +104,7 @@ export class ViewModelEventDispatcher extends Disposable {
this._emitMany(viewEvents);
}
}
this._emitOugoingEvents();
this._emitOutgoingEvents();
}

public emitSingleViewEvent(event: ViewEvent): void {
Expand Down

0 comments on commit df8fe74

Please sign in to comment.