Fixed send clipboard thread time issue #4749
This commit is contained in:
parent
1e89aa37c5
commit
72060e59b4
|
@ -273,6 +273,7 @@ Client::leave()
|
|||
|
||||
if (m_sendClipboardThread != NULL) {
|
||||
StreamChunker::interruptClipboard();
|
||||
m_sendClipboardThread->wait();
|
||||
m_sendClipboardThread = NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue