fix #790 ignore exceptions
This commit is contained in:
parent
5f80207f01
commit
d2dd3ae427
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue