Re: Debugger launched after closing the app window.

2008-12-07 Thread Michael Ash
On Sun, Dec 7, 2008 at 8:47 AM, Gustavo Pizano <[EMAIL PROTECTED]> wrote: > Hello Everybody. > > I dunno why, but I have been looking into the the list for the answer and > hadn't been able to find the solution. Sometimes when I close the main > window of the app, the debugger its loaded, I have b

Re: Debugger launched after closing the app window.

2008-12-07 Thread Gustavo Pizano
Hi again me, I forgot to tell you that in my "business" controller, the one in charge of handling the operations between the 2 views I implemented a singleton pattern, but dunno if I should release the static variable I use to create the singleton. The app is a Naval Battle gameboard. so th

Re: Debugger launched after closing the app window.

2008-12-07 Thread Gustavo Pizano
Hi Tim. the overview, I have the main window which has 3 Custom views, 2 of them are subclasses of a NSView. What Im doing, after reading the memory management rules, is that for all the instances variables which are pointers and which Im allocating memory for them in some part of the code,

Debugger launched after closing the app window.

2008-12-07 Thread Gustavo Pizano
Hello Everybody. I dunno why, but I have been looking into the the list for the answer and hadn't been able to find the solution. Sometimes when I close the main window of the app, the debugger its loaded, I have been checking my code looking for unreleased objects thinking this might be t