Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #411 from kcooney/please-stop-threadsafe

RunNotifier.pleaseStop() is now thread-safe
  • Loading branch information...
commit 7b47d564b120c92855e9d64536a6c17dc742a4c4 2 parents 3624da3 + 6d551f3
David Saff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/java/org/junit/runner/notification/RunNotifier.java
2  src/main/java/org/junit/runner/notification/RunNotifier.java
View
@@ -21,7 +21,7 @@
public class RunNotifier {
private final List<RunListener> fListeners=
Collections.synchronizedList(new ArrayList<RunListener>());
- private boolean fPleaseStop= false;
+ private volatile boolean fPleaseStop= false;
/** Internal use only
*/
Please sign in to comment.
Something went wrong with that request. Please try again.