initialized filefd to null, else if receiver goes offline tries to close file which doesnt exist

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@678 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2013-10-04 08:48:08 +00:00
parent 83bcbeddc9
commit 75f3420888

View File

@ -30,7 +30,7 @@ class fileIO : public fileIOStatic, public virtual slsDetectorBase {
/** default constructor */
fileIO(): fileIOStatic(){currentFrameIndex=-1;frameIndex=-1;detIndex=-1; framesPerFile=&nframes; nframes=1; };
fileIO(): fileIOStatic(){currentFrameIndex=-1;frameIndex=-1;detIndex=-1; framesPerFile=&nframes; nframes=1; filefd = NULL;};
/** virtual destructor */
virtual ~fileIO(){};