forked from thiagoralves/OpenPLC_v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition on persistent storage
Drivers that takes a longer time to initialize would end up making the runtime call startPstorage() before readPersistentStorage(), which is incorrect. This fix ensures that those functions are called in the right order.
- Loading branch information
1 parent
9fb9216
commit 4b22bf7
Showing
1 changed file
with
66 additions
and
56 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