Skip to content

Commit

Permalink
fix: avoids npe when closing pool maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagotnunes committed Jan 12, 2021
1 parent 6cec291 commit 1363543
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -2129,7 +2129,6 @@ private void handleCreateSessionsFailure(SpannerException e, int count) {
}
if (isDatabaseOrInstanceNotFound(e)) {
setResourceNotFoundException((ResourceNotFoundException) e);
pendingClosure += 1;
poolMaintainer.close();
}
}
Expand Down

0 comments on commit 1363543

Please sign in to comment.