I've a program that is basically a mini browser, with only one
window, with a Webview in it. A week or so ago, we added a second
window to the program, and now, if you have the two windows open,
about 15% of the time, it will crash when you quit. Unfortunately,
it's dying deep in the [NSApplication terminate:] method, so I'm
really not sure what I might be goofing up. It's always on a
"undoManager" line, but I don't do anything with undoManager, and
even tried setting it to nil with the [NSDocument setUndoManager:]
without making a difference.
I thought I'd post the stack crawl in case anyone else recognizes
something obvious I'm missing. The only piece of my code in there is
"[myDocument dropOut:] which simply calls [NSApplication terminate:]
Thanks for any ideas!
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x65010000
Only a fool turns away from an angel,
Vision in white steps through the door,
Holds out her hand, I say 'No I'm not ready'
I open my eyes and let the dream fade away.
-- echolyn, "on any given nite"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com