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