Skip to content

iOS: Disable timer-based garbage collector

Jørgen Svennevik Notland requested to merge jQrgen/wally:ios_gc_limits into main

As an attempt to stop iOS background crashes, this MR turns off a timer-based invocation of the garbage collector when the application is in the background, so GC is called only when memory consumption becomes too high.

https://kotlinlang.org/docs/native-ios-integration.html#support-for-background-state-and-app-extensions

Edited by Jørgen Svennevik Notland

Merge request reports