We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.5.3
CursorImpl.close never finishes promise in case of it's already closed, all logic in !closed branch.
private synchronized void close(Promise<Void> promise) { if (!closed) { ....
sqlConnection.prepare("select * from test") .compose(preparedStatement -> { Cursor cursor = preparedStatement.cursor(); return cursor.read(1) .compose(rowSet -> { Future<Void> close1 = cursor.close(); Future<Void> close2 = cursor.close(); return Future.join(close1, close2) .onComplete(ar -> { // never gets called }); }); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
4.5.3
Context
CursorImpl.close never finishes promise in case of it's already closed, all logic in !closed branch.
Steps to reproduce
The text was updated successfully, but these errors were encountered: