add and remove tunnels without stopping others

This commit is contained in:
orignal 2017-07-28 15:12:15 -04:00
parent d47d8d22a3
commit 4c8c3b6947
4 changed files with 55 additions and 11 deletions

View file

@ -53,6 +53,9 @@ namespace client
std::shared_ptr<ClientDestination> m_LocalDestination;
std::unordered_set<std::shared_ptr<I2PServiceHandler> > m_Handlers;
std::mutex m_HandlersMutex;
public:
bool isUpdated; // transient, used during reload only
};
/*Simple interface for I2PHandlers, allows detection of finalization amongst other things */