def close(self): """Close image watcher.""" Module.close(self) # stop watching if self._notifier: log.info('Stop watching directory...') self._notifier.stop()
def close(self): """Close module.""" Module.close(self) # close scheduler self._task_archive.close()
def close(self): """Close server.""" # close io loop and parent self._io_loop.add_callback(self._io_loop.stop) Module.close(self)
def close(self): """Close module.""" Module.close(self) self._abort.set()