Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable czmq signal handling so that ours works. #187

Merged
merged 1 commit into from
May 6, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ auto now = []() { return microsec_clock::universal_time(); };
send_worker::send_worker(czmqpp::context& context)
: context_(context)
{
// Disable czmq signal handling.
zsys_handler_set(NULL);

#ifdef _MSC_VER
// Hack to prevent czmq from writing to stdout/stderr on Windows.
// It is necessary to prevent stdio when using our utf8-everywhere pattern.
Expand Down