mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 15:27:13 +02:00
deleting socket and insignificant changes
This commit is contained in:
@ -63,6 +63,7 @@ Listener::Listener(Fifo*& f, runStatus* s, uint32_t* portno, char* e, int* act,
|
|||||||
|
|
||||||
|
|
||||||
Listener::~Listener() {
|
Listener::~Listener() {
|
||||||
|
if (udpSocket) delete udpSocket;
|
||||||
if (carryOverPacket) delete carryOverPacket;
|
if (carryOverPacket) delete carryOverPacket;
|
||||||
if (listeningPacket) delete listeningPacket;
|
if (listeningPacket) delete listeningPacket;
|
||||||
ThreadObject::DestroyThread();
|
ThreadObject::DestroyThread();
|
||||||
@ -166,10 +167,10 @@ void Listener::RecordFirstIndices(uint64_t fnum) {
|
|||||||
acquisitionStartedFlag = true;
|
acquisitionStartedFlag = true;
|
||||||
firstAcquisitionIndex = fnum;
|
firstAcquisitionIndex = fnum;
|
||||||
}
|
}
|
||||||
if (!index) cprintf(BLUE,"%d First Acquisition Index:%lld\n"
|
if (!index) cprintf(BLUE,"%d First Acquisition Index:%lu\n"
|
||||||
"%d First Measurement Index:%lld\n",
|
"%d First Measurement Index:%lu\n",
|
||||||
index, (long long int)firstAcquisitionIndex,
|
index, firstAcquisitionIndex,
|
||||||
index, (long long int)firstMeasurementIndex);
|
index, firstMeasurementIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user