mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Merge pull request #3348 from BDisp/v2_netdriver-OperationCanceledException-fix_3347
Fixes #3347. NetDriver throws System.OperationCanceledException: 'The operation was canceled.'
This commit is contained in:
@@ -374,11 +374,11 @@ internal class NetEvents : IDisposable
|
||||
return;
|
||||
}
|
||||
|
||||
_winChange.Wait (_inputReadyCancellationTokenSource.Token);
|
||||
_winChange.Reset ();
|
||||
|
||||
try
|
||||
{
|
||||
_winChange.Wait (_inputReadyCancellationTokenSource.Token);
|
||||
_winChange.Reset ();
|
||||
|
||||
RequestWindowSize (_inputReadyCancellationTokenSource.Token);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
|
||||
Reference in New Issue
Block a user