File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ public void CloseDevToolsSession()
323
323
{
324
324
if ( this . devToolsSession != null )
325
325
{
326
- this . devToolsSession . StopSession ( true ) . ConfigureAwait ( false ) . GetAwaiter ( ) . GetResult ( ) ;
326
+ Task . Run ( async ( ) => await this . devToolsSession . StopSession ( true ) ) . GetAwaiter ( ) . GetResult ( ) ;
327
327
}
328
328
}
329
329
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ public void CloseDevToolsSession()
415
415
{
416
416
if ( this . devToolsSession != null )
417
417
{
418
- this . devToolsSession . StopSession ( true ) . ConfigureAwait ( false ) . GetAwaiter ( ) . GetResult ( ) ;
418
+ Task . Run ( async ( ) => await this . devToolsSession . StopSession ( true ) ) . GetAwaiter ( ) . GetResult ( ) ;
419
419
}
420
420
}
421
421
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ public void CloseDevToolsSession()
475
475
{
476
476
if ( this . devToolsSession != null )
477
477
{
478
- this . devToolsSession . StopSession ( true ) . ConfigureAwait ( false ) . GetAwaiter ( ) . GetResult ( ) ;
478
+ Task . Run ( async ( ) => await this . devToolsSession . StopSession ( true ) ) . GetAwaiter ( ) . GetResult ( ) ;
479
479
}
480
480
}
481
481
You can’t perform that action at this time.
0 commit comments