Backing out of Idle Internet Cafe Tycoon on iPhone and the OS would kill the web view a bit later. GPU memory never got released

my fix was a setTimeout for 8 s after the app went to background

It never ran on real phones. JS gets frozen the instant the app backgrounds, so anything sitting in a timer is just stuck. Shipped it anyway without knowing, crash reports kept showing up build after build

Now the release happens right in the same call that handles going to background

The game itself is a little PC bang tycoon, rows of computers and customers, it runs in the browser and on Android/iOS

no comments (yet)

sorted by: hot top controversial new old
there doesn't seem to be anything here