mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-15 20:38:41 +01:00
cleaning up properly , semaphore leaks, child process/thread throwing handled
This commit is contained in:
@@ -58,7 +58,9 @@ int main(int argc, char *argv[]) {
|
||||
sem_wait(&semaphore);
|
||||
sem_destroy(&semaphore);
|
||||
} catch (...) {
|
||||
// pass
|
||||
sem_destroy(&semaphore);
|
||||
LOG(sls::logINFOBLUE) << "Exiting [ Tid: " << gettid() << " ]";
|
||||
throw;
|
||||
}
|
||||
LOG(sls::logINFOBLUE) << "Exiting [ Tid: " << gettid() << " ]";
|
||||
LOG(sls::logINFO) << "Exiting Receiver";
|
||||
|
||||
Reference in New Issue
Block a user