removed saving of GxsTrans configuration in class destructor, causing lock up when quitting RS

This commit is contained in:
csoler 2018-10-04 19:14:21 +02:00
parent 6c4d1c34e3
commit fb21e427be
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -33,7 +33,8 @@ const uint32_t p3GxsTrans::MAX_DELAY_BETWEEN_CLEANUPS = 900; // every 15 mins. C
p3GxsTrans::~p3GxsTrans()
{
p3Config::saveConfiguration();
// (cyril) this cannot be called here! There's chances the thread that saves configs will be dead already!
//p3Config::saveConfiguration();
{
RS_STACK_MUTEX(mIngoingMutex);