Skip to content
New issue

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

Guard against NPE in MongoMetricsConnectionPoolListener #2454

Merged
merged 1 commit into from Feb 17, 2021

Commits on Feb 16, 2021

  1. Guard against NPE in MongoMetricsConnectionPoolListener

    Logically, the other events should not happen after the connection pool has been closed, but it seems they sometimes do. When they do (e.g. on shutdown), a NPE was being thrown. This change guards against such NPEs.
    
    Resolves micrometer-metricsgh-2384
    shakuzen committed Feb 16, 2021
    Copy the full SHA
    50a47c0 View commit details
    Browse the repository at this point in the history