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