Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache device only after successful save
If saving the device fails, we should keep the old state in the cache and not the new one.
- Loading branch information