diff options
Diffstat (limited to 'include/salticidae/network.h')
-rw-r--r-- | include/salticidae/network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/salticidae/network.h b/include/salticidae/network.h index 11f720a..f3dd313 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -144,6 +144,8 @@ class MsgNetwork: public ConnPool { } }; + ~MsgNetwork() { stop_workers(); } + MsgNetwork(const EventContext &ec, const Config &config): ConnPool(ec, config) { incoming_msgs.set_capacity(65536); |