def stop_plugin(self):
"""Stops the plugin"""
LOG.debug("plugin stopping")
self._shutting_down = True
_stop_event = self.server.stop(0)
while not _stop_event.is_set():
time.sleep(.1)
LOG.debug("plugin stopped")
评论列表
文章目录