Skip to content

Commit

Permalink
fixed NullPointerException #97
Browse files Browse the repository at this point in the history
  • Loading branch information
ui4j committed Mar 5, 2017
1 parent 98c19ba commit 7167003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui4j-webkit/src/main/java/com/ui4j/webkit/WebKitBrowser.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ public void run() {
}
installErrorHandler();

latch.countDown();
if (latch != null) {
latch.countDown();
}
}

protected void installErrorHandler() {
Expand Down

0 comments on commit 7167003

Please sign in to comment.