summaryrefslogtreecommitdiff
path: root/src/zmq_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq_engine.cpp')
-rw-r--r--src/zmq_engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zmq_engine.cpp b/src/zmq_engine.cpp
index 3ed9ba5..2c5eb1c 100644
--- a/src/zmq_engine.cpp
+++ b/src/zmq_engine.cpp
@@ -50,6 +50,8 @@ zmq::zmq_engine_t::~zmq_engine_t ()
void zmq::zmq_engine_t::plug (i_inout *inout_)
{
+ zmq_assert (!inout);
+
encoder.set_inout (inout_);
decoder.set_inout (inout_);