Guess it is worth mentioning that Coroutines 1.4.3...
# kotlin-native
a
Guess it is worth mentioning that Coroutines 1.4.3-native-mt also fixed two things for iOS/Darwin: 1.
Dispatchers.Main.immediate
now does what it said — run the blocks synchronously if you are dispatching blocks to it on the main thread. 2. If your code is calling into ObjC/Swift code on a
newSingleThreadContext()
or the default dispatcher, it no longer leaks ObjC autoreleasing objects for good, since now each block is always wrapped by an autorelease pool. 🙂
K 7
🛠️ 1