Skip to content

Commit

Permalink
Removed invalid signal handler
Browse files Browse the repository at this point in the history
  • Loading branch information
edyounis committed Dec 8, 2023
1 parent 2829453 commit 8b95b1a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bqskit/runtime/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ def __init__(self) -> None:
# Safely and immediately exit on interrupt signals
handle = functools.partial(sigint_handler, node=self)
signal.signal(signal.SIGINT, handle)
if sys.platform == 'win32':
signal.signal(signal.CTRL_C_EVENT, handle)

# Start outgoing thread
self.outgoing: Queue[tuple[Connection, RuntimeMessage, Any]] = Queue()
Expand Down

0 comments on commit 8b95b1a

Please sign in to comment.