mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-16 06:05:57 -06:00
remove dangling handler..fixes race condition when a clipboard event is queued but not dispatched before disconnect
This commit is contained in:
parent
6c4199b11a
commit
5e19820425
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ ServerProxy::~ServerProxy()
|
|||
setKeepAliveRate(-1.0);
|
||||
m_events->removeHandler(m_events->forIStream().inputReady(),
|
||||
m_stream->getEventTarget());
|
||||
m_events->removeHandler(m_events->forClipboard().clipboardSending(), this);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue