summaryrefslogtreecommitdiff
path: root/src/own.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/own.cpp')
-rw-r--r--src/own.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/own.cpp b/src/own.cpp
index d90e9c4..f8252ab 100644
--- a/src/own.cpp
+++ b/src/own.cpp
@@ -192,7 +192,12 @@ void zmq::own_t::check_term_acks ()
send_term_ack (owner);
// Deallocate the resources.
- delete this;
+ process_destroy ();
}
}
+void zmq::own_t::process_destroy ()
+{
+ delete this;
+}
+