Fix Issue when OE connection Disconnects on Notebook Close (#4425)

* Fix OE connection closing when notebook closes

* handle connections created through Add new connection
This commit is contained in:
Chris LaFreniere
2019-03-13 11:32:12 -07:00
committed by GitHub
parent 2c7b5578e7
commit 17901fbf3d
4 changed files with 34 additions and 6 deletions

View File

@@ -438,6 +438,7 @@ export class AttachToDropdown extends SelectBox {
}
this.select(index);
this.model.addAttachToConnectionsToBeDisposed(connectionProfile);
// Call doChangeContext to set the newly chosen connection in the model
this.doChangeContext(connectionProfile);
});