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

pull/2/head 0.1.1
Michael MacFadden 5 years ago
parent 69ab442860
commit 827f8065e0

@ -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": [

@ -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();
}
}

Loading…
Cancel
Save