Skip to content

Commit dfa1b68

Browse files
author
Shivang Shah
committed
Making RxPlugins reset() public
Discussions found here: #2297
1 parent e804172 commit dfa1b68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/rx/plugins/RxJavaPlugins.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ public static RxJavaPlugins getInstance() {
6666

6767
}
6868

69-
/* package accessible for unit tests */void reset() {
69+
/* publicly accessible per: https://github.com/ReactiveX/RxJava/issues/2297 */
70+
public void reset() {
7071
INSTANCE.errorHandler.set(null);
7172
INSTANCE.observableExecutionHook.set(null);
7273
INSTANCE.singleExecutionHook.set(null);

0 commit comments

Comments
 (0)