Fixed graceful shutdown.

This commit is contained in:
XMRig 2017-07-18 05:20:36 +03:00
parent 9732636155
commit a3988374f0
15 changed files with 62 additions and 4 deletions

View file

@ -46,6 +46,7 @@ public:
static void setEnabled(bool enabled);
static void setJob(const Job &job);
static void start(int64_t affinity);
static void stop();
static void submit(const JobResult &result);
static inline bool isEnabled() { return m_enabled; }