Thx for the clarification. Yes - there actually is no real issue here. I just 
assumed somehow that arc/orc also passes the ownership somehow to the new 
thread, so it doesn't get deleted if the thread survives. I was thinking it may 
work like ref counting, similar to shared_ptr on c++. Or to maybe get some 
warning, as I usually got a lot of warnings for async when using stack 
variables. I just wanted to create some simple use case for multi threaded 
memory and wanted to show it, as you need to take care of different things with 
arc and without it.

Reply via email to