()
| 80 | } |
| 81 | |
| 82 | private void run() { |
| 83 | try { |
| 84 | doRun(); |
| 85 | } catch (IOException e) { |
| 86 | if (logger.enabled()) { |
| 87 | logger.log(e, new LogEntry("event", "event_loop_terminate")); |
| 88 | } |
| 89 | stop.set(true); // stop the world on critical error |
| 90 | } finally { |
| 91 | closeQuietly(selector); |
| 92 | closeQuietly(serverSocketChannel); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | private void doRun() throws IOException { |
| 97 | while (!stop.get()) { |
nothing calls this directly
no test coverage detected