Ejemplo n.º 1
0
 def __del__(self):
     status = BMC.Close(self._dm)
     if status:
         warnings.warn(BMC.ErrorString(status), RuntimeWarning)
         super(BMCDeformableMirror, self).__del__()
Ejemplo n.º 2
0
 def __del__(self) -> None:
     status = BMC.Close(self._dm)
     if status:
         warnings.warn(BMC.ErrorString(status), RuntimeWarning)
         super().__del__()
Ejemplo n.º 3
0
 def _do_shutdown(self) -> None:
     status = BMC.Close(self._dm)
     if status:
         warnings.warn(BMC.ErrorString(status), RuntimeWarning)