mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-08-04 15:18:17 +00:00
fix: avoids infinite loop in HandleClipboardEvents when not on Windows
This commit is contained in:
parent
76a2a0b47b
commit
3811518ea9
1 changed files with 4 additions and 1 deletions
|
@ -112,7 +112,10 @@ public partial class MainWindow : Window
|
|||
this._activeStage = ActiveStage.New(res);
|
||||
this._framed = framed;
|
||||
ReadPduAndProcessActiveStage();
|
||||
HandleClipboardEvents();
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
{
|
||||
HandleClipboardEvents();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue