mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 17:10:03 +02:00
.c_str() must not access global variables from thread
This commit is contained in:
parent
f0198d2d2e
commit
7c725cc69b
@ -2523,8 +2523,7 @@ uint32_t UDPStandardImplementation::processListeningBuffer(int ithread, int &cSi
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
cprintf(RED,"Listening_Thread %d: Error: This detector %s is not implemented in the receiver\n",
|
cprintf(RED,"Listening_Thread %d: Error: This detector is not implemented in the receiver\n", ithread);
|
||||||
ithread, getDetectorType(myDetectorType).c_str());
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user