Dave O Well-Known Member Licensed User Longtime User Feb 11, 2018 #1 Hi there, I'm starting to use KeyValueStore2 (KVS2) to save data in my poker app (save on Pause, load on Resume). One thing I'm not clear on is the use of the Close function. It's not described much, and it's not used in the KVS2 demo app. I tried it while saving and while loading, but I got run-time errors with both, so I removed those calls to Close. What's the proper way to use (or not use) Close? Thanks!
Hi there, I'm starting to use KeyValueStore2 (KVS2) to save data in my poker app (save on Pause, load on Resume). One thing I'm not clear on is the use of the Close function. It's not described much, and it's not used in the KVS2 demo app. I tried it while saving and while loading, but I got run-time errors with both, so I removed those calls to Close. What's the proper way to use (or not use) Close? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2018 #2 You don't need to close it at all. As it is based on a SQLite database, the data is immediately persisted. Upvote 0
You don't need to close it at all. As it is based on a SQLite database, the data is immediately persisted.