mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-23 13:22:46 -05:00
Fixed graceful shutdown.
This commit is contained in:
@@ -48,6 +48,7 @@ public:
|
||||
|
||||
int64_t submit(const JobResult &result) override;
|
||||
void connect() override;
|
||||
void stop() override;
|
||||
|
||||
protected:
|
||||
void onClose(Client *client, int failures) override;
|
||||
@@ -57,7 +58,7 @@ protected:
|
||||
|
||||
private:
|
||||
void idle();
|
||||
void stop();
|
||||
void suspend();
|
||||
|
||||
static void onTimer(uv_timer_t *handle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user