Skip to content

Commit 5726550

Browse files
Rebuild entrypoint-socket.js
1 parent 7e88903 commit 5726550

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/Microsoft.AspNetCore.NodeServices/Content/Node/entrypoint-socket.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,12 @@
376376
_this._sendFrame(header.connectionIdBinary,data,writeCompletedCallback);
377377
}
378378
};
379-
varnewVirtualConnection=newVirtualConnection_1.VirtualConnection(beginWriteCallback)
380-
.on('end',function(){
379+
varnewVirtualConnection=newVirtualConnection_1.VirtualConnection(beginWriteCallback);
380+
newVirtualConnection.on('end',function(){
381381
// The virtual connection was closed remotely. Clean up locally.
382382
_this._onVirtualConnectionWasClosed(header.connectionIdString);
383-
}).on('finish',function(){
383+
});
384+
newVirtualConnection.on('finish',function(){
384385
// The virtual connection was closed locally. Clean up locally, and notify the remote that we're done.
385386
_this._onVirtualConnectionWasClosed(header.connectionIdString);
386387
_this._sendFrame(header.connectionIdBinary,newBuffer(0));

0 commit comments

Comments
(0)