File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public class Page : IDisposable, IAsyncDisposable
4040 private readonly TaskQueue _screenshotTaskQueue ;
4141 private readonly EmulationManager _emulationManager ;
4242 private readonly Dictionary < string , Delegate > _pageBindings ;
43- private readonly Dictionary < string , Worker > _workers ;
43+ private readonly IDictionary < string , Worker > _workers ;
4444 private readonly ILogger _logger ;
4545 private PageGetLayoutMetricsResponse _burstModeMetrics ;
4646 private bool _screenshotBurstModeOn ;
@@ -74,7 +74,7 @@ private Page(
7474 _timeoutSettings = new TimeoutSettings ( ) ;
7575 _emulationManager = new EmulationManager ( client ) ;
7676 _pageBindings = new Dictionary < string , Delegate > ( ) ;
77- _workers = new Dictionary < string , Worker > ( ) ;
77+ _workers = new ConcurrentDictionary < string , Worker > ( ) ;
7878 _logger = Client . Connection . LoggerFactory . CreateLogger < Page > ( ) ;
7979 Accessibility = new Accessibility ( client ) ;
8080
You can’t perform that action at this time.
0 commit comments