Skip to content

Fix leak in SniClientTest.#8324

Merged
normanmaurer merged 1 commit into4.1from
fix_leak_in_test
Sep 26, 2018
Merged

Fix leak in SniClientTest.#8324
normanmaurer merged 1 commit into4.1from
fix_leak_in_test

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

We need to release the ReferenceCountedSslContext to eliminate resource leaks.

Reported in https://garage.netty.io/teamcity/viewLog.html?buildId=33353&buildTypeId=netty_build_oraclejdk8&tab=buildLog#_focus=157264.

Modifications:

Call release on the SslContext instances.

Result:

No more leaks in tests.

Motivation:

We need to release the ReferenceCountedSslContext to eliminate resource leaks.

Reported in https://garage.netty.io/teamcity/viewLog.html?buildId=33353&buildTypeId=netty_build_oraclejdk8&tab=buildLog#_focus=157264.

Modifications:

Call release on the SslContext instances.

Result:

No more leaks in tests.
@normanmaurer normanmaurer merged commit 4d14586 into 4.1 Sep 26, 2018
@normanmaurer normanmaurer deleted the fix_leak_in_test branch September 26, 2018 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants