summaryrefslogtreecommitdiff
path: root/src/zmq_engine.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-09-20 00:06:05 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-09-20 00:06:05 +0200
commit328c92a0a70b98b4a3bf09132bd8f8041e4c8628 (patch)
tree76dddb89390fd6a362d10c6d11caaccf52e398ad /src/zmq_engine.hpp
parent1d2399720b3fd06da5e7f9f4a211f30c57a9ce2d (diff)
problem with engine being attached to session while it's being terminated fixed
Diffstat (limited to 'src/zmq_engine.hpp')
-rw-r--r--src/zmq_engine.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/zmq_engine.hpp b/src/zmq_engine.hpp
index 363eaaf..806e710 100644
--- a/src/zmq_engine.hpp
+++ b/src/zmq_engine.hpp
@@ -39,6 +39,7 @@ namespace zmq
public:
zmq_engine_t (fd_t fd_, const options_t &options_);
+ ~zmq_engine_t ();
// i_engine interface implementation.
void plug (class io_thread_t *io_thread_, struct i_inout *inout_);
@@ -53,10 +54,6 @@ namespace zmq
private:
- // Destructor is not to be used directly.
- // Use 'terminate' function instead.
- ~zmq_engine_t ();
-
// Function to handle network disconnections.
void error ();