Skip to content

Commit

Permalink
All threads get the uncaught handler
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhw committed Mar 4, 2009
1 parent bbbddeb commit 27a2196
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GroovyServerTest
Thread[] threads = new Thread[Thread.activeCount() * 2];
Thread.enumerate(threads);
threads.each {
if (it?.name?.startsWith("GroovyServer")) {
if (it) {
it.setUncaughtExceptionHandler(exceptionHandler);
}
}
Expand Down

0 comments on commit 27a2196

Please sign in to comment.