logic: Fixes for shared memory

* set unrestricted permissions on shared memory allocation to fix crash on Windows
* log exceptions during shared memory creation and destruction
* create SharedMemoryGarbageCollector after logging was enabled
This commit is contained in:
Eberhard Graether
2017-05-12 01:53:37 +02:00
parent 40157039b4
commit 6193ae9209
2 changed files with 62 additions and 36 deletions
+2 -1
View File
@@ -31,9 +31,10 @@ void Application::createInstance(
const Version& version, ViewFactory* viewFactory, NetworkFactory* networkFactory
){
Version::setApplicationVersion(version);
SharedMemoryGarbageCollector::createInstance()->run(Application::getUUID());
loadSettings();
SharedMemoryGarbageCollector::createInstance()->run(Application::getUUID());
TaskScheduler::getInstance();
MessageQueue::getInstance();