netty5/transport-native-kqueue
greenjustin 090e9a7271
Allow EventLoops to rethrow Error (#10694)
Motivation:

Thread.stop() works by producing a ThreadDeath error in the target thread. EventLoops swallow all Throwables, which makes them effectively unkillable. This is effectively a memory leak, for our application. Beside this we should also just regrow all `Error` as there is almost no way to recover.

Modification:

Edit the EventLoops that swallow Throwables to instead rethrow Error.

Result:

`EventLoop` can crash if `Error` is thrown
2020-10-24 14:56:33 +02:00
..
src Allow EventLoops to rethrow Error (#10694) 2020-10-24 14:56:33 +02:00
pom.xml Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00