We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c808d0d commit 0592368Copy full SHA for 0592368
microscope/devices.py
@@ -256,7 +256,10 @@ def initialize(self):
256
257
def shutdown(self):
258
"""Shutdown the device for a prolonged period of inactivity."""
259
- self.disable()
+ try:
260
+ self.disable()
261
+ except Exception as e:
262
+ _logger.debug("Exeption in disable() during shutdown: %s" % e)
263
_logger.info("Shutting down ... ... ...")
264
self._on_shutdown()
265
_logger.info("... ... ... ... shut down completed.")
0 commit comments