1
0
Fork 0

In debug mode, display running thread at exit

This commit is contained in:
nemunaire 2016-07-08 22:40:49 +02:00
parent 4c11c5e215
commit b5d5a67b2d
1 changed files with 2 additions and 0 deletions

View File

@ -191,6 +191,8 @@ def main():
# Wait for consumers
logger.info("Waiting for other threads shuts down...")
if args.debug:
sigusr1handler(0, None)
sys.exit(0)
if __name__ == "__main__":