We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e804172 commit 6cbbef4Copy full SHA for 6cbbef4
src/main/java/rx/plugins/RxJavaPlugins.java
@@ -17,6 +17,7 @@
17
18
import java.util.*;
19
import java.util.concurrent.atomic.AtomicReference;
20
+import rx.annotations.Experimental;
21
22
/**
23
* Registry for plugin implementations that allows global override and handles the retrieval of correct
@@ -66,7 +67,9 @@ public static RxJavaPlugins getInstance() {
66
67
68
}
69
- /* package accessible for unit tests */void reset() {
70
+ /* publicly accessible per: https://github.com/ReactiveX/RxJava/issues/2297 */
71
+ @Experimental
72
+ public void reset() {
73
INSTANCE.errorHandler.set(null);
74
INSTANCE.observableExecutionHook.set(null);
75
INSTANCE.singleExecutionHook.set(null);
0 commit comments