Re: KVO leaks memory

2009-04-24 Thread Greg Parker
On Apr 24, 2009, at 5:09 PM, Andreas Grosam wrote: model creates several other objects that will be stored in a dictionary which is also an ivar of model. The dictionary will be used as a parameter in a recursive method invocation, where its sub dictionaries will be processed. Well, and it

Re: KVO leaks memory

2009-04-24 Thread Andreas Grosam
On Apr 25, 2009, at 1:07 AM, Jean-Daniel Dupas wrote: Le 24 avr. 09 à 23:55, Andreas Grosam a écrit : I get strange memory leaks when I use KVO. The setup of all classes is OK as far as I can see, and the KVO is actually working. There is no memory leak when the classes will be tested in

Re: KVO leaks memory

2009-04-24 Thread Jean-Daniel Dupas
Le 24 avr. 09 à 23:55, Andreas Grosam a écrit : I get strange memory leaks when I use KVO. The setup of all classes is OK as far as I can see, and the KVO is actually working. There is no memory leak when the classes will be tested in test cases without KVO. There are two classes involve

Re: KVO leaks memory

2009-04-24 Thread Andreas Grosam
On Apr 24, 2009, at 11:55 PM, Andreas Grosam wrote: I get strange memory leaks when I use KVO. The setup of all classes is OK as far as I can see, and the KVO is actually working. There is no memory leak when the classes will be tested in test cases without KVO. There are two classes inv

KVO leaks memory

2009-04-24 Thread Andreas Grosam
I get strange memory leaks when I use KVO. The setup of all classes is OK as far as I can see, and the KVO is actually working. There is no memory leak when the classes will be tested in test cases without KVO. There are two classes involved: class Model and class Observer Model has a propert