netty5/handler/src/main/java/io/netty
Norman Maurer 15b1a94b2f Ensure native memory is released when OpenSslServercontext constructor throws exception
Motivation:

We need to ensure we do all checks inside of the try / catch block so we free native memory that was allocated in the constructor of the super class in a timely manner.
Modifications:

Move all checks inside of the try block.

Result:

Correctly release native memory (and not depend on the finalizer) when a check in the constructors fails
2016-03-21 08:17:39 +01:00
..
handler Ensure native memory is released when OpenSslServercontext constructor throws exception 2016-03-21 08:17:39 +01:00