mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
Починил клинч с мьютексом Провайдера ДБ
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "processingsystem.h"
|
||||
#include "providerdblms.h"
|
||||
|
||||
#include <clienthandler.h>
|
||||
|
||||
@@ -7,7 +8,10 @@ ProcessingSystem::ProcessingSystem(ProviderDBLMS* providerDBLMS, UpdateControlle
|
||||
updateController(nullptr),
|
||||
providerDBLMS(nullptr)
|
||||
{
|
||||
this->providerDBLMS = providerDBLMS;
|
||||
//this->providerDBLMS = providerDBLMS;
|
||||
|
||||
|
||||
|
||||
this->updateController = updateController;
|
||||
}
|
||||
|
||||
@@ -16,6 +20,10 @@ void ProcessingSystem::initialize(MultiThreadServer *server, DataParser *dataPar
|
||||
UpdateController *updateController,
|
||||
ChatSystem *chatSystem)
|
||||
{
|
||||
this->providerDBLMS = new ProviderDBLMS(/*parent*/nullptr);
|
||||
this->providerDBLMS->ConnectionToDB();
|
||||
this->providerDBLMS->deAuthorizationAll();
|
||||
|
||||
this->commonClientServer = commonClientHandler;
|
||||
this->dataParser = dataParser;
|
||||
this->server = server;
|
||||
|
||||
Reference in New Issue
Block a user