threadstarted not initialized

This commit is contained in:
Dhanya Maliakal 2016-11-01 16:36:19 +01:00
parent f0ac9a2e9c
commit 88d5e4c9a0

View File

@ -268,6 +268,7 @@ multiSlsDetector::multiSlsDetector(int id) : slsDetectorUtils(), shmId(-1)
getNMods();
getMaxMods();
threadStarted = false;
threadpool = 0;
if(createThreadPool() == FAIL)
exit(-1);