mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
Dev/detach pthreads not joining (#1019)
* detach the pthreads that are not joining else memory leak * removed the clean up comment, also refactored the pthread join/detach for ctb 1g
This commit is contained in:
Binary file not shown.
@ -1858,7 +1858,8 @@ int startStateMachine() {
|
||||
LOG(logERROR, ("Could not start Virtual acquisition thread\n"));
|
||||
sharedMemory_setStatus(IDLE);
|
||||
return FAIL;
|
||||
}
|
||||
} else
|
||||
pthread_detach(pthread_virtual_tid);
|
||||
LOG(logINFOGREEN, ("Virtual Acquisition started\n"));
|
||||
return OK;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user