mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-27 08:40:02 +02:00
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:
parent
83bcbeddc9
commit
75f3420888
@ -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(){};
|
||||
|
Loading…
x
Reference in New Issue
Block a user