예제 #1
0
파일: bmc.py 프로젝트: VolkerH/microscope
 def __del__(self):
     status = BMC.Close(self._dm)
     if status:
         warnings.warn(BMC.ErrorString(status), RuntimeWarning)
         super(BMCDeformableMirror, self).__del__()
예제 #2
0
 def __del__(self) -> None:
     status = BMC.Close(self._dm)
     if status:
         warnings.warn(BMC.ErrorString(status), RuntimeWarning)
         super().__del__()
예제 #3
0
 def _do_shutdown(self) -> None:
     status = BMC.Close(self._dm)
     if status:
         warnings.warn(BMC.ErrorString(status), RuntimeWarning)