Correctly handle stop request during async connect.

This commit is contained in:
eelke 2019-11-09 12:56:02 +01:00
parent 2c9cda990d
commit b90df1cd77

View file

@ -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)