Correctly set diposed before calling the callback in the RemoteSelection class.

This commit is contained in:
Michael MacFadden 2019-03-12 16:23:23 -05:00
parent 69ab442860
commit 827f8065e0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@convergencelabs/monaco-collab-ext",
"version": "0.1.0",
"version": "0.1.1",
"title": "Monaco Editor Collaborative Extensions",
"description": "Collaborative Extensions for the Monaco Editor",
"keywords": [

View File

@ -222,8 +222,8 @@ export class RemoteSelection {
if (!this._disposed) {
this._styleElement.parentElement.removeChild(this._styleElement);
this.hide();
this._onDisposed();
this._disposed = true;
this._onDisposed();
}
}