In debug mode, display running thread at exit
This commit is contained in:
parent
509446a0f4
commit
c0e489f6b6
@ -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__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user