App is Crashing when Opening/Closing Stacks
Posted: Wed Sep 26, 2018 6:58 am
I updated an app for iOS 12 using LC 9.0.1. I made very few changes to the app. It works great in the IDE. There's several stacks in the build. Whenever I open a stack on a device, the app crashes.
My code reads something like this
If I insert a "wait for 5 seconds" command between the 1st and 2nd line, the targetStack opens and displays find, then in 5 seconds the app crashes. This code existed and worked prior to updating it with LC 9.0.1.
Any ideas?
My code reads something like this
Code: Select all
go to card "target" of stack ("targetStack.livecode")
set the destroyStack of stack ("departingStack.livecode") to true
close stack ("departingStack.livecode")
Any ideas?