Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions concore.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import time
import logging
import os
import atexit
from ast import literal_eval
import sys
import re
Expand Down Expand Up @@ -104,6 +105,8 @@ def terminate_zmq():
port.context.term()
except Exception as e:
logging.error(f"Error while terminating ZMQ port {port.address}: {e}")

atexit.register(terminate_zmq)
# --- ZeroMQ Integration End ---


Expand Down