Skip to content

Commit

Permalink
fix thread shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 26, 2024
1 parent ae23d16 commit d48cdf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions responder/util/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def __init__(self, target: str, port: int = 5042, limit_max_requests: int = None

# Allow the thread to be terminated when the main program exits.
self.process = None
self.daemon = True

# Setup signal handlers
signal.signal(signal.SIGTERM, self._signal_handler)
Expand Down

0 comments on commit d48cdf1

Please sign in to comment.