AIR for IOS is automatically committing SQLite transactions on EXITING event
i have game going, using sqlite track gameplay, , dont want save incomplete rounds
eg, if player starts new round gets halfway thru quits game, want *not save gameplay data round
so, open transaction @ start of each round, make various calls database, , commit transaction when round complete
my assumption if player hit home button (app set exit on suspend) in middle of round, data incomplete round lost (as desired) because open transaction not committed, app shut down w/ no call commit
unfortunately air/sqlite seems auto-commit open transaction on exit
can verify this?
and, can give me advice on preventing behaviour?
thanks
More discussions in AIR Development
adobe
Comments
Post a Comment