Rebuild entrypoint-socket.js
This commit is contained in:
parent
7e88903bcc
commit
57265509f7
|
|
@ -376,11 +376,12 @@
|
||||||
_this._sendFrame(header.connectionIdBinary, data, writeCompletedCallback);
|
_this._sendFrame(header.connectionIdBinary, data, writeCompletedCallback);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var newVirtualConnection = new VirtualConnection_1.VirtualConnection(beginWriteCallback)
|
var newVirtualConnection = new VirtualConnection_1.VirtualConnection(beginWriteCallback);
|
||||||
.on('end', function () {
|
newVirtualConnection.on('end', function () {
|
||||||
// The virtual connection was closed remotely. Clean up locally.
|
// The virtual connection was closed remotely. Clean up locally.
|
||||||
_this._onVirtualConnectionWasClosed(header.connectionIdString);
|
_this._onVirtualConnectionWasClosed(header.connectionIdString);
|
||||||
}).on('finish', function () {
|
});
|
||||||
|
newVirtualConnection.on('finish', function () {
|
||||||
// The virtual connection was closed locally. Clean up locally, and notify the remote that we're done.
|
// The virtual connection was closed locally. Clean up locally, and notify the remote that we're done.
|
||||||
_this._onVirtualConnectionWasClosed(header.connectionIdString);
|
_this._onVirtualConnectionWasClosed(header.connectionIdString);
|
||||||
_this._sendFrame(header.connectionIdBinary, new Buffer(0));
|
_this._sendFrame(header.connectionIdBinary, new Buffer(0));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue