Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Interrupt executor if task is canceled
  • Loading branch information
goglepox committed Aug 14, 2012
1 parent b542e4e commit 6bd079e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -107,6 +107,7 @@ public IMolecule call() throws CDKException{
progress.worked(1);
if(progress.isCanceled()) {
future.cancel(true);
tool.setInterrupted( true );
throw new OperationCanceledException();
}
Thread.sleep(1000);
Expand Down

0 comments on commit 6bd079e

Please sign in to comment.