Commit 8e5d9458 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[3074] Unsubscribe from earlier CC session first

parent 33a9204a
......@@ -598,6 +598,13 @@ class Init:
process, the log_starting/log_started methods are not used.
"""
logger.info(BIND10_STARTING_CC)
# Unsubscribe from the other CC session first, because we only
# monitor one and msgq expects all data sent to us to be read,
# or it will close its side of the socket.
if self.cc_session is not None:
self.cc_session.group_unsubscribe("Init")
self.ccs = isc.config.ModuleCCSession(SPECFILE_LOCATION,
self.config_handler,
self.command_handler,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment