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 9dc82e2 commit d0370e1Copy full SHA for d0370e1
intelmq/lib/bot.py
@@ -521,10 +521,6 @@ def stop(self, exitcode: int = 1):
521
if self.logger:
522
self.logger.info("Bot stopped.")
523
logging.shutdown()
524
- # Bots using threads that do not exit properly, see #970
525
- if self.__class__.__name__ in ['XMPPCollectorBot', 'XMPPOutputBot']:
526
- proc = psutil.Process(os.getpid())
527
- proc.send_signal(signal.SIGTERM)
528
else:
529
self.__log_buffer.append(('info', 'Bot stopped.'))
530
self.__print_log_buffer()
0 commit comments