Skip to content

Commit

Permalink
Always subscribe to an observable
Browse files Browse the repository at this point in the history
  • Loading branch information
flagbug committed Aug 19, 2014
1 parent c837e27 commit 6666865
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lager/SettingsStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ protected void SetOrCreate<T>(T value, [CallerMemberName] string key = null)

this.AddToInternalCache(key, value);

this.blobCache.InsertObject(string.Format("{0}:{1}", this.keyPrefix, key), value);
// Fire and forget, we retrieve the value from the in-memory cache from now on
this.blobCache.InsertObject(string.Format("{0}:{1}", this.keyPrefix, key), value).Subscribe();

this.OnPropertyChanged(key);
}
Expand Down

0 comments on commit 6666865

Please sign in to comment.