Bindings are retaining my #@$%ing window controller!!
Bindings are retaining my #@$%ing window controller!!
- Subject: Bindings are retaining my #@$%ing window controller!!
- From: Steve Gehrman <email@hidden>
- Date: Sun, 9 Jan 2005 21:39:59 -0800
I just recently started using binding and noticed that it's retaining
my window causing a memory leak.
I'm closing the window, and my windowDidClose get's called, but I don't
know how to tell bindings that it's OK to release my window controller.
Any ideas?
#0 -[NTColorOptionsPanelController retain] (self=0xa97ef10,
_cmd=0x9088d10c) at /Volumes/Development/Development/Path Finder
Project/Path Finder/NTColorOptionsPanelController.m:91
#1 0x931bc5d0 in -[_NSBindingInfo
initWithController:key:valueTransformer:binding:] ()
#2 0x931b9bd8 in -[NSBinder
addBinding:toController:withKeyPath:valueTransformer:options:] ()
#3 0x931b23b0 in -[NSObject(NSKeyValueBindingCreation)
bind:toObject:withKeyPath:options:] ()
#4 0x92df2834 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] ()
#5 0x92ee42f8 in +[NSCustomResource pushBundleForImageSearch:] ()
#6 0x92e3b55c in +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] ()
#7 0x92eba3f4 in +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] ()
#8 0x92ec11f8 in -[NSWindowController loadWindow] ()
#9 0x92e7592c in -[NSWindowController window] ()
#10 0x05001388 in -[NTColorOptionsPanelController
initWithParentWindow:colorOptions:] (self=0xa97ef10, _cmd=0x5001dc0,
parentWindow=0xa66aa90, colorOptions=0xa6ee800) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/NTColorOptionsPanelController.m:25
#11 0x050016c0 in +[NTColorOptionsPanelController
colorPanel:colorOptions:] (self=0x50030a0, _cmd=0x4592d7c,
parentWindow=0xa66aa90, colorOptions=0xa6ee800) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/NTColorOptionsPanelController.m:74
#12 0x0458ff18 in -[BrowserActions colorPanelAction:] (self=0xa9150e0,
_cmd=0x4f56f98, sender=0xa6c8d00) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/BrowserActions.m:912
#13 0x90836734 in objc_msgSendv ()
#14 0x909fabf0 in -[NSInvocation invoke] ()
#15 0x90a2f598 in -[NSInvocation invokeWithTarget:] ()
#16 0x0433f014 in -[ListView(ActionForwarding) forwardInvocation:]
(self=0xa917920, _cmd=0x908773c0, anInvocation=0xa978550) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/ListView.m:480
#17 0x909fcfd0 in -[NSObject(NSForwardInvocation) forward::] ()
#18 0x90836810 in _objc_msgForward ()
#19 0x92f2afbc in -[NSToolbarButton sendAction:to:] ()
#20 0x92f2af5c in -[NSToolbarButton sendAction] ()
#21 0x92eaadd8 in -[NSToolbarItemViewer mouseDown:] ()
#22 0x0501caf4 in -[NSToolbarItemViewerHack hackMouseDown:]
(self=0xa6cd650, _cmd=0x90883610, event=0xa977760) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/NSToolbarHacks.m:74
#23 0x92e03178 in -[NSWindow sendEvent:] ()
#24 0x043e2650 in -[NTUserWindow sendEvent:] (self=0xa66aa90,
_cmd=0x9088f8a4, theEvent=0xa977760) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/NTUserWindow.m:56
#25 0x92df583c in -[NSApplication sendEvent:] ()
#26 0x0020e644 in -[OAApplication sendEvent:] ()
#27 0x01411620 in -[NTApplication sendEvent:] (self=0x1151f10,
_cmd=0x9088f8a4, theEvent=0xa977760) at
/Volumes/Development/Development/CocoaTechBase/NTApplication.m:75
#28 0x92dfdc54 in -[NSApplication run] ()
#29 0x92eba2b8 in NSApplicationMain ()
#30 0x02ffacd8 in main (argc=1, argv=0xbffffc50) at
/Volumes/Development/Development/Path Finder Project/Path
Finder/main.m:8
(gdb)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden