Skip to content

Commit cdd414a

Browse files
committed
use global scope in Scopes
1 parent b0d89ae commit cdd414a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry/src/main/java/io/sentry/Scopes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ private void updateLastEventId(final @NotNull SentryId lastEventId) {
580580
// TODO add to IScopes interface
581581
public @NotNull IScope getGlobalScope() {
582582
// TODO should be:
583-
// return Sentry.getGlobalScope();
584-
return scope;
583+
return Sentry.getGlobalScope();
584+
// return scope;
585585
}
586586

587587
@Override

0 commit comments

Comments
 (0)