netty5/common/src
Trustin Lee 4477eb2f48 Fix native library loading in Windows
Motivation:

Windows refuses to load a .DLL file when it's opened by other process.
Recent modification in NativeLibraryLoader causes NativeLibraryLoader to
attempt to load a .DLL before closing its OutputStream. As a result,
loading a .DLL file in Windows always fails.

Modifications:

Close the OutputStream explicitly before loading a shared library.

Result:

Native library loading in Windows works again.
2016-08-31 07:06:53 +02:00
..
main Fix native library loading in Windows 2016-08-31 07:06:53 +02:00
test Remove extra conditional check in retain 2016-08-05 13:09:26 +02:00