mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-21 02:17:37 +02:00
Fixed send clipboard thread time issue #4749
This commit is contained in:
parent
1e89aa37c5
commit
72060e59b4
2 changed files with 3 additions and 0 deletions
|
@ -509,6 +509,8 @@ Server::switchScreen(BaseClientProxy* dst,
|
|||
// clipboard data could be corrupted on the other side
|
||||
if (m_sendClipboardThread != NULL) {
|
||||
StreamChunker::interruptClipboard();
|
||||
m_sendClipboardThread->wait();
|
||||
m_sendClipboardThread = NULL;
|
||||
}
|
||||
|
||||
// send the clipboard data to new active screen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue