We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6164cf7 commit 0b86d06Copy full SHA for 0b86d06
zmq.hpp
@@ -2384,6 +2384,8 @@ class monitor_t
2384
2385
_socket = socket_ref();
2386
}
2387
+
2388
+ virtual void on_monitor_stopped() {}
2389
#endif
2390
virtual void on_monitor_started() {}
2391
virtual void on_event_connected(const zmq_event_t &event_, const char *addr_)
@@ -2525,6 +2527,7 @@ class monitor_t
2525
2527
2526
2528
#ifdef ZMQ_EVENT_MONITOR_STOPPED
2529
if (event->event == ZMQ_EVENT_MONITOR_STOPPED) {
2530
+ on_monitor_stopped();
2531
return false;
2532
2533
0 commit comments