Skip to content

Commit

Permalink
directvt#650: Relax the race for the clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Oct 15, 2024
1 parent 551abc2 commit 34a747c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netxs/desktopio/system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ namespace netxs::os
sync(error, mime::textonly);
return;
}
std::this_thread::yield();
os::sleep(15ms);
}
if (auto seqno = ::GetClipboardSequenceNumber(); seqno != os::clipboard::sequence)
{
Expand Down

0 comments on commit 34a747c

Please sign in to comment.