mirror of
https://github.com/convergencelabs/monaco-collab-ext.git
synced 2024-10-27 20:34:17 +00:00
Correctly set diposed before calling the callback in the RemoteSelection class.
This commit is contained in:
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…
Reference in New Issue
Block a user