Skip to content

Fix: add missing return after ZMQ send in write() - Fixes #238#242

Merged
pradeeban merged 1 commit into
ControlCore-Project:devfrom
avinxshKD:fix/zmq-write-missing-return
Feb 11, 2026
Merged

Fix: add missing return after ZMQ send in write() - Fixes #238#242
pradeeban merged 1 commit into
ControlCore-Project:devfrom
avinxshKD:fix/zmq-write-missing-return

Conversation

@avinxshKD
Copy link
Copy Markdown
Contributor

Fixes #238

The write() function was missing a return statement after the ZMQ send path, causing execution to fall through into the file-based write logic. This led to redundant file operations after every ZMQ write.

Added return to match the pattern already used in read()

@avinxshKD
Copy link
Copy Markdown
Contributor Author

@pradeeban the failing tests don't seem related to this change. The fix just adds a single return statement after ZMQ, doesn't touch imports or CLI logic.

@pradeeban pradeeban merged commit a1fdd2f into ControlCore-Project:dev Feb 11, 2026
1 of 6 checks passed
@pradeeban
Copy link
Copy Markdown
Member

Yep, the tests are useless right now with something that is fundamentally broken. Have to look at that separately. Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants