Anders
03/03/2021, 8:48 PMDispatchers.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.
🙂