870579d38f
udp_server might not be created due to error (occupied port etc.), in which case its destructor and thread-ending call chain will not be excuted in Server::Stop. However, the ending packet still need to be send no matter udp is on or not, so move it to Server::Stop |
||
---|---|---|
.. | ||
packet.cpp | ||
packet.h | ||
rpc_server.cpp | ||
rpc_server.h | ||
server.cpp | ||
server.h | ||
udp_server.cpp | ||
udp_server.h |