Skip to content

Commit e737ee5

Browse files
committed
Set extra and tags to null on clearContext
1 parent e985153 commit e737ee5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

android/src/main/java/io/sentry/RNSentryModule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ public void captureEvent(ReadableMap event) {
184184
@ReactMethod
185185
public void clearContext() {
186186
Sentry.clearContext();
187+
this.extra = null;
188+
this.tags = null;
187189
}
188190

189191
@ReactMethod

0 commit comments

Comments
 (0)