fix race condition: DB_READY lost when utun thread starts before gui_bridge_init
- mainwindow.cpp: swap setupMessaging() before setupNode() so g_receiver is created first - gui_bridge_impl.cpp: add DEBUG_WARN when gui_bridge_post drops event due to NULL g_receiver
This commit is contained in:
1 parent
29e2527b6b
commit
0e0ad9316a
3 files changed
+8
-5
No files matched your search
@@ -102,8 +102,8 @@ MainWindow::MainWindow(QWidget *parent, DbManager* db, const QString& cfgPath,
|
||||
}
|
||||
});
|
||||
|
||||
setupNode();
|
||||
setupMessaging();
|
||||
setupNode();
|
||||
|
||||
connect(m_channelList, &ChannelList::channelSelected,
|
||||
this, [this](const QString& channelId) {
|
||||
|
||||
Reference in new issue
Block a user