Skip to content

Commit

Permalink
proibably fix multipule CTRL + C breaking exit sequence rdavydov#484
Browse files Browse the repository at this point in the history
  • Loading branch information
Petrarka0 committed Apr 11, 2024
1 parent 50e8dd5 commit b77575a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TwitchChannelPointsMiner/TwitchChannelPointsMiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ def run(
)

def end(self, signum, frame):
if not self.running:
return
logger.info("CTRL+C Detected! Please wait just a moment!")

for streamer in self.streamers:
Expand Down

0 comments on commit b77575a

Please sign in to comment.