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

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