Merge branch 'dev' into feature-opencl
This commit is contained in:
commit
7f0891a0f0
16 changed files with 255 additions and 359 deletions
|
@ -900,6 +900,12 @@ void xmrig::Client::onConnect(uv_connect_t *req, int status)
|
|||
LOG_ERR("[%s] connect error: \"%s\"", client->url(), uv_strerror(status));
|
||||
}
|
||||
|
||||
if (client->state() != ConnectingState) {
|
||||
LOG_ERR("[%s] connect error: \"invalid state: %d\"", client->url(), client->state());
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
delete req;
|
||||
client->close();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue