Skip to content

Commit

Permalink
Merge pull request #187 from evoskuil/version2
Browse files Browse the repository at this point in the history
Disable czmq signal handling so that ours works.
  • Loading branch information
evoskuil committed May 6, 2016
2 parents 2deab78 + eaa2f07 commit 3f35954
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 3f35954

Please sign in to comment.