make the NodeList reset a blocking queued connection

This commit is contained in:
Stephen Birarda 2015-12-04 11:20:46 -08:00
parent 918342df5f
commit d5f79b84fc

View file

@ -200,7 +200,7 @@ void NodeList::processICEPingPacket(QSharedPointer<NLPacket> packet) {
void NodeList::reset() {
if (thread() != QThread::currentThread()) {
QMetaObject::invokeMethod(this, "reset");
QMetaObject::invokeMethod(this, "reset", Qt::BlockingQueuedConnection);
return;
}