iMtG Server: Gathering

Gathering Forums => Help for iMtG => Topic started by: Sheldor on April 05, 2016, 11:34:19 AM

Title: Deckbuilder doesn't keep modifies
Post by: Sheldor on April 05, 2016, 11:34:19 AM
Hi, I was trying to make some modifies to one of my decks and after that if I close and reopen the app, my deck turns back to the previous version without those new cards. How can I fix it?
Title: Re: Deckbuilder doesn't keep modifies
Post by: Piotr on April 05, 2016, 01:04:43 PM
Do not kill the app before the system had the chance to flush caches to disk?
Title: Re: Deckbuilder doesn't keep modifies
Post by: Sheldor on April 05, 2016, 01:18:38 PM
Oh, it's weird because I did that lots of times and nothing ever happened. No problem. By the way if I change some cards in a deck and then make a backup to Dropbox before closing the app, would work right?
Title: Re: Deckbuilder doesn't keep modifies
Post by: Piotr on April 05, 2016, 01:36:18 PM
Yes it should work all right as it is using the same main thread data context. Save to disk is done in the background in 5.6.12 and the responsibility to flush caches is with iOS now. In the past we would force this operation ourselves which would result in iMtG being more hungry for power than it is now. I hope this makes sense?