diff options
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r-- | src/socket_base.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp index cea5bc8..8b2eab8 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -97,6 +97,10 @@ namespace zmq void out_event (); void timer_event (int id_); + // To be called after processing commands or invoking any command + // handlers explicitly. If required, it will deallocate the socket. + void check_destroy (); + protected: socket_base_t (class ctx_t *parent_, uint32_t tid_); |