@jupyterlab/services
Advanced tools
Comparing version 0.40.1 to 0.40.2
@@ -125,3 +125,3 @@ // Copyright (c) Jupyter Development Team. | ||
DefaultTerminalSession.prototype.dispose = function () { | ||
if (this.isDisposed) { | ||
if (this._isDisposed) { | ||
return; | ||
@@ -143,2 +143,5 @@ } | ||
var _this = this; | ||
if (this._isDisposed) { | ||
return; | ||
} | ||
var msg = [message.type]; | ||
@@ -192,2 +195,5 @@ msg.push.apply(msg, message.content); | ||
this._ws.onmessage = function (event) { | ||
if (_this._isDisposed) { | ||
return; | ||
} | ||
var data = JSON.parse(event.data); | ||
@@ -201,2 +207,5 @@ _this._messageReceived.emit({ | ||
_this._ws.onopen = function (event) { | ||
if (_this._isDisposed) { | ||
return; | ||
} | ||
_this._isReady = true; | ||
@@ -206,2 +215,5 @@ resolve(void 0); | ||
_this._ws.onerror = function (event) { | ||
if (_this._isDisposed) { | ||
return; | ||
} | ||
reject(event); | ||
@@ -208,0 +220,0 @@ }; |
{ | ||
"name": "@jupyterlab/services", | ||
"version": "0.40.1", | ||
"version": "0.40.2", | ||
"description": "Client APIs for the Jupyter services REST APIs", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
763587
22370