Skip to content

Commit

Permalink
RunNotifier.pleaseStop() is now thread-safe
Browse files Browse the repository at this point in the history
  • Loading branch information
kcooney committed Apr 3, 2012
1 parent ce0195c commit 6d551f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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
*/
Expand Down

0 comments on commit 6d551f3

Please sign in to comment.