Explorar o código

fix #790 ignore exceptions

Shinsuke Sugaya %!s(int64=8) %!d(string=hai) anos
pai
achega
d2dd3ae427

+ 5 - 1
src/main/java/org/codelibs/fess/thumbnail/impl/WebDriverGenerator.java

@@ -109,7 +109,11 @@ public class WebDriverGenerator extends BaseThumbnailGenerator {
     public void destroy() {
         if (webDriver != null) {
             synchronized (this) {
-                webDriver.quit();
+                try {
+                    webDriver.quit();
+                } catch (Throwable t) {
+                    logger.debug("Failed to quit webDriver.", t);
+                }
                 webDriver = null;
             }
         }