def close(self):
        """Close image watcher."""
        Module.close(self)

        # stop watching
        if self._notifier:
            log.info('Stop watching directory...')
            self._notifier.stop()
Example #2
0
    def close(self):
        """Close module."""
        Module.close(self)

        # close scheduler
        self._task_archive.close()
Example #3
0
    def close(self):
        """Close server."""

        # close io loop and parent
        self._io_loop.add_callback(self._io_loop.stop)
        Module.close(self)
Example #4
0
 def close(self):
     """Close module."""
     Module.close(self)
     self._abort.set()