File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Microsoft.AspNetCore.NodeServices/Content/Node Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 376
376
_this . _sendFrame ( header . connectionIdBinary , data , writeCompletedCallback ) ;
377
377
}
378
378
} ;
379
- var newVirtualConnection = new VirtualConnection_1 . VirtualConnection ( beginWriteCallback )
380
- . on ( 'end' , function ( ) {
379
+ var newVirtualConnection = new VirtualConnection_1 . VirtualConnection ( beginWriteCallback ) ;
380
+ newVirtualConnection . on ( 'end' , function ( ) {
381
381
// The virtual connection was closed remotely. Clean up locally.
382
382
_this . _onVirtualConnectionWasClosed ( header . connectionIdString ) ;
383
- } ) . on ( 'finish' , function ( ) {
383
+ } ) ;
384
+ newVirtualConnection . on ( 'finish' , function ( ) {
384
385
// The virtual connection was closed locally. Clean up locally, and notify the remote that we're done.
385
386
_this . _onVirtualConnectionWasClosed ( header . connectionIdString ) ;
386
387
_this . _sendFrame ( header . connectionIdBinary , new Buffer ( 0 ) ) ;
You can’t perform that action at this time.
0 commit comments