fix #790 ignore exceptions

This commit is contained in:
Shinsuke Sugaya 2016-11-17 18:12:23 +09:00
parent 5f80207f01
commit d2dd3ae427

View file

@ -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;
}
}