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
|
@ -81,6 +81,7 @@ ServerProxy::~ServerProxy()
|
||||||
setKeepAliveRate(-1.0);
|
setKeepAliveRate(-1.0);
|
||||||
m_events->removeHandler(m_events->forIStream().inputReady(),
|
m_events->removeHandler(m_events->forIStream().inputReady(),
|
||||||
m_stream->getEventTarget());
|
m_stream->getEventTarget());
|
||||||
|
m_events->removeHandler(m_events->forClipboard().clipboardSending(), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue