Skip to content

Commit

Permalink
remove isUnsubscribed call befor item emittion
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroslav Heriatovych committed Oct 13, 2014
1 parent c11e0c2 commit 6dde4b2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public void call(final Subscriber<? super String> subscriber) {
final SharedPreferences.OnSharedPreferenceChangeListener listener = new SharedPreferences.OnSharedPreferenceChangeListener() {
@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
if(!subscriber.isUnsubscribed())
subscriber.onNext(key);
}
};
Expand Down

0 comments on commit 6dde4b2

Please sign in to comment.