File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ const TransportObserver = Class(
4848 transport . on ( "onBulkPacket" , this . onBulkPacket ) ;
4949 transport . on ( "startBulkSend" , this . startBulkSend ) ;
5050 transport . on ( "onClosed" , this . onClosed ) ;
51+
52+ transport . on ( "packet" , this . onPacket ) ;
53+ transport . on ( "bulkpacket" , this . onBulkPacket ) ;
54+ transport . on ( "startbulksend" , this . startBulkSend ) ;
55+ transport . on ( "close" , this . onClosed ) ;
5156 } ,
5257
5358 destroy : function ( ) {
@@ -59,6 +64,11 @@ const TransportObserver = Class(
5964 transport . off ( "onBulkPacket" , this . onBulkPacket ) ;
6065 transport . off ( "startBulkSend" , this . startBulkSend ) ;
6166 transport . off ( "onClosed" , this . onClosed ) ;
67+
68+ transport . off ( "packet" , this . onPacket ) ;
69+ transport . off ( "bulkpacket" , this . onBulkPacket ) ;
70+ transport . off ( "startbulksend" , this . startBulkSend ) ;
71+ transport . off ( "close" , this . onClosed ) ;
6272 } ,
6373
6474 // Connection Events
You can’t perform that action at this time.
0 commit comments