From fa7efc5ceff1a8af4ad5aa2d3d426c089aecfdb7 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 5 Nov 2014 16:59:55 +0100 Subject: [PATCH] Don't crash on shutdown --- core/src/main/java/org/fourthline/cling/UpnpServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/fourthline/cling/UpnpServiceImpl.java b/core/src/main/java/org/fourthline/cling/UpnpServiceImpl.java index 229812617..5ccd7415b 100644 --- a/core/src/main/java/org/fourthline/cling/UpnpServiceImpl.java +++ b/core/src/main/java/org/fourthline/cling/UpnpServiceImpl.java @@ -165,7 +165,7 @@ protected void shutdownRouter() { if (cause instanceof InterruptedException) { log.log(Level.INFO, "Router shutdown was interrupted: " + ex, cause); } else { - throw new RuntimeException("Router error on shutdown: " + ex, ex); + log.log(Level.SEVERE, "Router error on shutdown: " + ex, cause); } } }