remove dangling handler..fixes race condition when a clipboard event is queued but not dispatched before disconnect

This commit is contained in:
walker0643 2018-04-01 21:13:56 -04:00
parent 6c4199b11a
commit 5e19820425
1 changed files with 1 additions and 0 deletions

View File

@ -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