On Nov 28, 2008, at 3:10 PM, Mathieu Coursolle wrote:
Thanks for your reply,
Even if I create other windows and delete them after, the lost
controllers seem to be lost forever.
I tried to select menu items and it actually speeds up the
collection of some, but some are still lost forever.
I w
Hi,
Thanks for your reply,
Even if I create other windows and delete them after, the lost
controllers seem to be lost forever.
I tried to select menu items and it actually speeds up the collection
of some, but some are still lost forever.
I waited for a while, continued to create/close windo
On Nov 28, 2008, at 8:49 AM, Mathieu Coursolle wrote:
Here is the result from gc-roots for a window controller that was
not collected:
(gdb) info gc-roots 0x1048c10
Number of roots: 1
Root:
0 Kind: stack rc: 0 Address: 0xbfffee24 Frame level: 3
Symbol:
1 Kind: object rc: 0
Hi,
Here is the result from gc-roots for a window controller that was not
collected:
(gdb) info gc-roots 0x1048c10
Number of roots: 1
Root:
0 Kind: stack rc: 0 Address: 0xbfffee24 Frame level: 3
Symbol:
1 Kind: object rc: 0 Address: 0x01047be0 Class: NSWindow
ivar: NSR
On Nov 28, 2008, at 8:42 AM, Rob Keniger wrote:
You are adding the NSWindowController to your document using -
addWindowController:, which retains the window controller. You must
then release the window controller using -removeWindowController: so
that the collector frees the object.
Do th
On 28/11/2008, at 7:13 AM, Mathieu Coursolle wrote:
Hi Cocoa developers,
I created a simple garbage collected Core Data application using the
Xcode template.
I did not change much except that I added an empty window controller
for my window,
which is the file's owner of my .xib.
I added
Hi Cocoa developers,
I created a simple garbage collected Core Data application using the
Xcode template.
I did not change much except that I added an empty window controller
for my window,
which is the file's owner of my .xib.
I added logs in the init and finalize methods to make sure that