Re: Performance slowdown when traversing UIElements under menu bar of Mail and some other apps
Re: Performance slowdown when traversing UIElements under menu bar of Mail and some other apps
- Subject: Re: Performance slowdown when traversing UIElements under menu bar of Mail and some other apps
- From: Peter Lübke <email@hidden>
- Date: Thu, 11 Nov 2010 17:43:55 +0100
One thing that's NOT done right though is that [attrNames release] should be *inside* the if block, *or* the attrNames variable should be initialized to nil. Otherwise the release message could be sent to an arbitrary uninitialized pointer, which leads to a crash.
You're right, I overlooked this. Fixed it, no improvement on the main issue. Also, to Peter, have you tried to use Leaks instead of ObjectAlloc?
As I'm still using Tiger and XCode 2.5, Leaks is not included... The fact that objects are allocated does not necessarily mean that they're leaked. It could be that some DO proxy object is legitimately holding on to the object for efficiency.
This was also my suspicion. Would this mean there's nothing I can do except the "ugly workaround"? Of course it could also be that some DO proxy object is not properly released (as cleaning up NSConnection is pretty messy stuff, and also a bit buggy IMHO).
The objects ARE deallocated when I (or my app) click a menu item in the other app. At least this is what ObjectAlloc tells me.
Peter |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden