Don't expire lookup-in-progress until all GUIInvokes have completed.

This commit is contained in:
baldurk
2018-12-06 12:32:08 +00:00
parent dcf92ca040
commit 7a541b673d
+4 -3
View File
@@ -278,9 +278,10 @@ void RemoteManager::refreshHost(RDTreeWidgetItem *node)
GUIInvoke::call(this, [node]() { node->setItalic(false); });
m_Lookups.acquire();
GUIInvoke::call(this, [this]() { updateStatus(); });
GUIInvoke::call(this, [this]() {
m_Lookups.acquire();
updateStatus();
});
});
th->selfDelete(true);
th->start();