Commit bd790641 authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline
Browse files

Wait for camera to finish acquisition in Eiger & Jungfrau destructors

* Test sequences were destroying model while still in use
parent 8e7ba1d3
......@@ -753,6 +753,7 @@ Eiger::Eiger(Camera *cam)
Eiger::~Eiger()
{
DEB_DESTRUCTOR();
getCamera()->waitAcqState(Idle);
removeAllCorr();
}
......
......@@ -127,6 +127,7 @@ Jungfrau::Jungfrau(Camera *cam)
Jungfrau::~Jungfrau()
{
DEB_DESTRUCTOR();
getCamera()->waitAcqState(Idle);
}
void Jungfrau::getFrameDim(FrameDim& frame_dim, bool raw)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment