From: Panayotis K. <pan...@pa...> - 2010-03-25 14:38:08
|
On 25 Μαρ 2010, at 1:36 μ.μ., Arno Puder wrote: > > Guys, > > I have just committed a patch submitted by Joshua Melcon. His patch > removes the dependency on NSAutoreleasePool during code generation. I have a question here: What if a selector is called from a separated thread? AFAIK, when a new thread is fired, there is no autorelease pool for that. In the new code, I can see inside java_lang_Thread.m that in selector threadCallback, there is a new autorelease pool. I haven't deeply had a look at the code, but I am wondering if this will cover this problem. |