Skip to content

Commit 84d1ed9

Browse files
Set unsubscribed true
... should probably set it to true when unsubscribed :-$
1 parent 10d8ca9 commit 84d1ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava-core/src/main/java/rx/subscriptions/BooleanSubscription.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public boolean isUnsubscribed() {
2020

2121
@Override
2222
public void unsubscribe() {
23-
unsubscribed.set(false);
23+
unsubscribed.set(true);
2424
}
2525

2626
}

0 commit comments

Comments
 (0)