mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
fix: core log thread
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <QStandardPaths>
|
||||
#include <QLocalSocket>
|
||||
#include <QLocalServer>
|
||||
#include <QThread>
|
||||
|
||||
#include "3rdparty/RunGuard.hpp"
|
||||
#include "main/NekoRay.hpp"
|
||||
@@ -121,6 +122,10 @@ int main(int argc, char* argv[]) {
|
||||
delete preQApp;
|
||||
QApplication a(argc, argv);
|
||||
|
||||
// dispatchers
|
||||
DS_cores = new QThread;
|
||||
DS_cores->start();
|
||||
|
||||
// RunGuard
|
||||
RunGuard guard("nekoray" + wd.absolutePath());
|
||||
quint64 guard_data_in = GetRandomUint64();
|
||||
|
||||
Reference in New Issue
Block a user