Skip to content

Commit 66bae8e

Browse files
author
Mikel Pascual
committed
Expose method to disable collection of execution information
1 parent 4e23394 commit 66bae8e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/akaita/java/rxjava2debug/RxJava2Debug.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ public static void enableRxJava2AssemblyTracking() {
3434
setRxJavaAssemblyHandler();
3535
}
3636

37+
/**
38+
* Disable the collection of more information about RxJava's execution<br/>
39+
* Information collected before calling this method will still be reported
40+
*/
41+
public static void disableRxJava2AssemblyTracking() {
42+
RxJavaAssemblyTracking.disable();
43+
}
44+
3745
/**
3846
* Set handler to intercept an exception, improve the StackTrace of RxJava-related ones and rethrow let the exception go through
3947
*/

0 commit comments

Comments
 (0)