mirror of
https://github.com/convergencelabs/monaco-collab-ext.git
synced 2026-03-02 03:49:21 +00:00
Correctly set diposed before calling the callback in the RemoteSelection class.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@convergencelabs/monaco-collab-ext",
|
"name": "@convergencelabs/monaco-collab-ext",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"title": "Monaco Editor Collaborative Extensions",
|
"title": "Monaco Editor Collaborative Extensions",
|
||||||
"description": "Collaborative Extensions for the Monaco Editor",
|
"description": "Collaborative Extensions for the Monaco Editor",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -222,8 +222,8 @@ export class RemoteSelection {
|
|||||||
if (!this._disposed) {
|
if (!this._disposed) {
|
||||||
this._styleElement.parentElement.removeChild(this._styleElement);
|
this._styleElement.parentElement.removeChild(this._styleElement);
|
||||||
this.hide();
|
this.hide();
|
||||||
this._onDisposed();
|
|
||||||
this._disposed = true;
|
this._disposed = true;
|
||||||
|
this._onDisposed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user