You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been using this lib for some time now in my project. However, I found that my stores and data get corrupt at times. Upon examination, I found that data might be corrupted if the app is killed during the converter.write call, resulting in an incomplete write and so a corrupt file. This seems like a critical issue with this lib, IMHO could be solved by writing the data to a randomly named temporary file and then doing a rename-overrite to the key name so that at no point in time the store file is in an invalid state.
The text was updated successfully, but these errors were encountered:
Hello, I've been using this lib for some time now in my project. However, I found that my stores and data get corrupt at times. Upon examination, I found that data might be corrupted if the app is killed during the
converter.write
call, resulting in an incomplete write and so a corrupt file. This seems like a critical issue with this lib, IMHO could be solved by writing the data to a randomly named temporary file and then doing a rename-overrite to the key name so that at no point in time the store file is in an invalid state.The text was updated successfully, but these errors were encountered: