diff --git a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp index 4a5e87ce3..3f6c05248 100644 --- a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp +++ b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp @@ -2231,7 +2231,6 @@ slsDetectorDefs::ROI* multiSlsDetector::getROI(int &n){ double* multiSlsDetector::decodeData(int *datain, double *fdata) { double *dataout; - cprintf(GREEN,"numchanensl:%d\n",thisMultiDetector->numberOfChannels); if (fdata) dataout=fdata; @@ -5167,7 +5166,6 @@ void multiSlsDetector::startReceivingDataThread(){ //scan header------------------------------------------------------------------- zmq_msg_init (&message); - cprintf(BLUE,"waiting to listen to header\n"); len = zmq_msg_recv(&message, zmqsocket, 0); if (len == -1) { cprintf(BG_RED,"Could not read header for socket %d\n",ithread); @@ -5179,7 +5177,7 @@ void multiSlsDetector::startReceivingDataThread(){ // error if you print it // cout << ithread << " header len:"<fileName); - dataReady(thisData, currentFrameIndex, currentSubFrameIndex, pCallbackArg);//should be fnum and subfnum from json header - delete thisData; + dataReady(thisData, currentFrameIndex, currentSubFrameIndex, pCallbackArg); fdata = NULL; cout<<"Send frame #"<< currentFrameIndex << " to gui"<