Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise availability guard first in
LocalDatabase#stop()
`LocalDatabase` raises the availability guard when it is stopped. It used to do it after the datasource manager is stopped which could lead to transactions starting when datasource is being stopped. This commit makes `LocalDatabase` raise the guard as the first step during stop.
- Loading branch information
Showing
2 changed files
with
42 additions
and
3 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