Added real graceful exit.

This commit is contained in:
XMRig 2019-03-16 00:44:15 +07:00
parent 1e62943010
commit ba68fb6c53
41 changed files with 391 additions and 303 deletions

View file

@ -50,7 +50,6 @@ public:
~Network() override;
void connect();
void stop();
protected:
void onActive(IStrategy *strategy, Client *client) override;
@ -72,7 +71,7 @@ private:
IStrategy *m_donate;
IStrategy *m_strategy;
NetworkState m_state;
uv_timer_t m_timer;
uv_timer_t *m_timer;
};