Skip to content

Commit

Permalink
Making RxPlugins reset() public
Browse files Browse the repository at this point in the history
Discussions found here: ReactiveX#2297
  • Loading branch information
Shivang Shah committed Apr 1, 2016
1 parent e804172 commit dfa1b68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/rx/plugins/RxJavaPlugins.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public static RxJavaPlugins getInstance() {

}

/* package accessible for unit tests */void reset() {
/* publicly accessible per: https://github.com/ReactiveX/RxJava/issues/2297 */
public void reset() {
INSTANCE.errorHandler.set(null);
INSTANCE.observableExecutionHook.set(null);
INSTANCE.singleExecutionHook.set(null);
Expand Down

0 comments on commit dfa1b68

Please sign in to comment.