Hi,
With version 1.59 of NSAutoreleasePool.m, gdl2 'stopped working'
(it was working with v 1.55).
in NSAutoreleasePool -dealloc, calling
instanceMethodForSelector on a EOFault object make the object de-faulting and
produce strange recurse loop until it fill the stack.
Adding
/**
* Returns a pointer to the C function implementing the method used
* to respond to messages with aSelector by instances of the receiving
* class.
* <br />Raises NSInvalidArgumentException if given a null selector.
*/
+ (IMP) instanceMethodForSelector: (SEL)aSelector
{
if (aSelector == 0)
[NSException raise: NSInvalidArgumentException
format: @"%@ null selector given", NSStringFromSelector(_cmd)];
/*
* Since 'self' is an class, get_imp() will get the instance method.
*/
return get_imp((Class)self, aSelector);
}
in EOFault solve the problem.
What do you think ? Any objection to to commit it ?