-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Based on PR #613 There was a bug where calling unload() right before calling load() would cause a race that would sometimes cause a failure. This is because the fields are reset before the unload is complete so the second call to unload() (from inside load) will complete immediately. So now we store the unload Promise chain while it is in progress so we can wait on it from load(). Closes #612 Change-Id: I6c0cdd931827d709fc41322edd51fe10e4aa87ae
- Loading branch information
1 parent
b1711c3
commit 798b1e0
Showing
2 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters