Ensuring ReStore singleton is opened.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-04-06 11:41:40 -05:00
parent 062a0ac309
commit 2ef170eab8

View File

@ -1,4 +1,4 @@
accessing accessing
store store
self class storeDB. "Starting the ReStore singleton." ReStore isConnected ifFalse: [ self class storeDB]. "Starting the ReStore singleton."
self tweets do: [:each | ReStore evaluateAsTransaction: [ each store ] ]. self tweets do: [:each | ReStore evaluateAsTransaction: [ each store ] ].