File tree 1 file changed +3
-3
lines changed
src/vs/base/parts/ipc/common
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -806,16 +806,16 @@ export class IPCServer<TContext = string> implements IChannelServer<TContext>, I
806
806
return result ;
807
807
}
808
808
809
- constructor ( onDidClientConnect : Event < ClientConnectionEvent > ) {
809
+ constructor ( onDidClientConnect : Event < ClientConnectionEvent > , ipcLogger : IIPCLogger | null = null , timeoutDelay : number = 1000 ) {
810
810
this . disposables . add ( onDidClientConnect ( ( { protocol, onDidClientDisconnect } ) => {
811
811
const onFirstMessage = Event . once ( protocol . onMessage ) ;
812
812
813
813
this . disposables . add ( onFirstMessage ( msg => {
814
814
const reader = new BufferReader ( msg ) ;
815
815
const ctx = deserialize ( reader ) as TContext ;
816
816
817
- const channelServer = new ChannelServer ( protocol , ctx ) ;
818
- const channelClient = new ChannelClient ( protocol ) ;
817
+ const channelServer = new ChannelServer ( protocol , ctx , ipcLogger , timeoutDelay ) ;
818
+ const channelClient = new ChannelClient ( protocol , ipcLogger ) ;
819
819
820
820
this . channels . forEach ( ( channel , name ) => channelServer . registerChannel ( name , channel ) ) ;
821
821
You can’t perform that action at this time.
0 commit comments