Fixed graceful shutdown.
This commit is contained in:
parent
9732636155
commit
a3988374f0
15 changed files with 62 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue