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 376376 _this . _sendFrame ( header . connectionIdBinary , data , writeCompletedCallback ) ;
377377 }
378378 } ;
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 ( ) {
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 , new Buffer ( 0 ) ) ;
You can’t perform that action at this time.
0 commit comments