Skip to content

Commit

Permalink
Fix cancellation of quit
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-s committed Sep 21, 2018
1 parent f3a0556 commit 3cd7fd6
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -253,6 +253,8 @@ private static <T> T run(ExecutorService executor, Callable<T> run) {
} catch (PolyglotException e) {
if (e.isExit()) {
throw new ExitException(e.getExitStatus());
} else if (e.isCancelled()) {
throw e;
}
throw RMain.fatal(e, "Unexpected error " + e.getMessage());
} catch (Exception e) {
Expand Down

0 comments on commit 3cd7fd6

Please sign in to comment.