From d2e210979976ddbbcb60fd08b244dd8c94156421 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 12 Nov 2019 17:03:03 +0000 Subject: [PATCH] Router: Shutdown ECIES engine --- router/java/src/net/i2p/router/Router.java | 1 + 1 file changed, 1 insertion(+) diff --git a/router/java/src/net/i2p/router/Router.java b/router/java/src/net/i2p/router/Router.java index 2f762ac144..c213c1a622 100644 --- a/router/java/src/net/i2p/router/Router.java +++ b/router/java/src/net/i2p/router/Router.java @@ -1490,6 +1490,7 @@ public class Router implements RouterClock.ClockShiftListener { try { _context.inNetMessagePool().shutdown(); } catch (Throwable t) { _log.error("Error shutting down the inbound net pool", t); } try { _context.clientMessagePool().shutdown(); } catch (Throwable t) { _log.error("Error shutting down the client msg pool", t); } try { _context.sessionKeyManager().shutdown(); } catch (Throwable t) { _log.error("Error shutting down the session key manager", t); } + try { _context.eciesEngine().shutdown(); } catch (Throwable t) { _log.error("Error shutting down the ECIES engine", t); } try { _context.messageHistory().shutdown(); } catch (Throwable t) { _log.error("Error shutting down the message history logger", t); } // do stat manager last to reduce chance of NPEs in other threads try { _context.statManager().shutdown(); } catch (Throwable t) { _log.error("Error shutting down the stats manager", t); } -- GitLab