diff options
author | Determinant <[email protected]> | 2018-11-18 16:24:30 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2018-11-18 16:24:30 -0500 |
commit | 161d969e0eabfecccd69a6b9ed2d03919cf89cb5 (patch) | |
tree | 60008191c4320a8b4c5ae31773d70f996d3548f7 /include/salticidae/network.h | |
parent | 39f6d6ac46d440aa68e7b1a2f2e4eb629356af34 (diff) |
improve the test programsmultiloops
Diffstat (limited to 'include/salticidae/network.h')
-rw-r--r-- | include/salticidae/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/network.h b/include/salticidae/network.h index 43638cf..a71c5dd 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -423,7 +423,7 @@ class PeerNetwork: public MsgNetwork<OpcodeType> { this->reg_handler(generic_bind(&PeerNetwork::msg_pong, this, _1, _2)); } - ~PeerNetwork() { this->stop(); } + ~PeerNetwork() { this->stop_workers(); } void add_peer(const NetAddr &paddr); const conn_t get_peer_conn(const NetAddr &paddr) const; |