Commit 0f416c1
Peter Svensson
expose the shutdown method of the event loop group
To exit normally all non-daemon threads of the java process are supposed
to have stopped. TcpClientSession creates an static class member
EventLoopGroup which in turn instantiates worker threads. These need to
be stopped as a part of shutting down the server.
This patch exposes the shutdown of the EventLoopGroup as a static
function intended to be called by some central function as a part of
server shutdwon.1 parent bfb6430 commit 0f416c1
File tree
1 file changed
+11
-0
lines changed- src/main/java/com/github/steveice10/packetlib/tcp
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
321 | 332 | | |
0 commit comments