Add shutting down process to the Storage and StorageQueue.
Making that will guarantee, that queue is destructed on the appropriate queue only and in order with other asynchronous operations (after them all). When the device is shutting down, it won't allow any new asyn operations to start. This should resolve crbug/1098359. Bug: 1098359 Change-Id: I12fd860778bc8dd7efb1f51f6d878c2cd1dd3256 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2268382Reviewed-by:Zach Trudo <zatrudo@google.com> Commit-Queue: Leonid Baraz <lbaraz@chromium.org> Cr-Commit-Position: refs/heads/master@{#782828}
Showing
Please register or sign in to comment