mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Rebuild entrypoint-socket.js
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user