dart-lang/chromedeveditor — pull request #3142 by ussuri (2014-08-14 06:04:51+00:00)
Title: Hopefully fix the timing issue with preference value removal

@devoncarew

In removeValue() and clear(), a Future corresponding to removal of a value from the underlying Chrome storage was returned immediately, with the cached value updated only when the removal was complete. That meant that for a short period after return from the function, the client would still see the old value in the cache.