diff options
Diffstat (limited to 'src/zmq_engine.cpp')
-rw-r--r-- | src/zmq_engine.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zmq_engine.cpp b/src/zmq_engine.cpp index cd7ad7e..3cab4c9 100644 --- a/src/zmq_engine.cpp +++ b/src/zmq_engine.cpp @@ -136,5 +136,8 @@ void zmq::zmq_engine_t::revive () void zmq::zmq_engine_t::error () { - zmq_assert (false); + zmq_assert (inout); + inout->detach (); + unplug (); + delete this; } |