Skip to content

Commit

Permalink
cleanUpJChannel already catches all Throwables
Browse files Browse the repository at this point in the history
  • Loading branch information
darkv committed Nov 29, 2012
1 parent aedfba9 commit 4febb1c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,7 @@ private static void cleanUpJChannel(JChannel channel) {
}

public void _applicationWillTerminateNotification(NSNotification notification) {
try {
cleanUpJChannel(_channel);
}
catch (Throwable e) {
ERXRemoteSynchronizer.log.error("Error cleaning up ERJgroupsSynchronizer JChannel", e);
}
}

private static class ERJGroupsCleanupTask extends ERXShutdownHook {
Expand Down

0 comments on commit 4febb1c

Please sign in to comment.