File tree Expand file tree Collapse file tree 2 files changed +2
-36
lines changed 
dotnet/src/webdriver/BiDi/Communication Expand file tree Collapse file tree 2 files changed +2
-36
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public sealed class Broker : IAsyncDisposable
3838    private  readonly  ITransport  _transport ; 
3939
4040    private  readonly  ConcurrentDictionary < long ,  CommandInfo < EmptyResult > >  _pendingCommands  =  new ( ) ; 
41-     private  readonly  BlockingCollection < MessageEvent >  _pendingEvents  =  [ ] ; 
41+     private  readonly  BlockingCollection < ( string   Method ,   EventArgs   Params ) >  _pendingEvents  =  [ ] ; 
4242    private  readonly  Dictionary < string ,  JsonTypeInfo >  _eventTypesMap  =  [ ] ; 
4343
4444    private  readonly  ConcurrentDictionary < string ,  List < EventHandler > >  _eventHandlers  =  new ( ) ; 
@@ -318,7 +318,7 @@ private void ProcessReceivedMessage(byte[]? data)
318318                { 
319319                    var  eventArgs  =  ( EventArgs ) JsonSerializer . Deserialize ( ref  paramsReader ,  eventInfo ) ! ; 
320320
321-                     var  messageEvent  =  new   MessageEvent ( method ,  eventArgs ) ; 
321+                     var  messageEvent  =  ( method ,  eventArgs ) ; 
322322                    _pendingEvents . Add ( messageEvent ) ; 
323323                } 
324324                else 
Load Diff This file was deleted. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments