atom.io 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -908,6 +908,9 @@ var cacheValue = (key, value, subject, store = IMPLICIT.STORE) => {
908
908
  const future = new Future(value);
909
909
  target(store).valueMap.set(key, future);
910
910
  future.then((value2) => {
911
+ if (future.isCanceled) {
912
+ return;
913
+ }
911
914
  cacheValue(key, value2, subject, store);
912
915
  subject.next({ newValue: value2, oldValue: value2 });
913
916
  }).catch((error) => {