Correctly handle stop request during async connect.
This commit is contained in:
parent
2c9cda990d
commit
b90df1cd77
1 changed files with 2 additions and 0 deletions
|
|
@ -217,6 +217,8 @@ bool ASyncDBConnectionThread::makeConnection()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (res == wait_result_stop) {
|
else if (res == wait_result_stop) {
|
||||||
|
m_connection.close();
|
||||||
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
} // end while (true)
|
} // end while (true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue