• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Preset leaks cocoa UI resources.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preset leaks cocoa UI resources.


  • Subject: Re: Preset leaks cocoa UI resources.
  • From: Brian Willoughby <email@hidden>
  • Date: Wed, 15 Dec 2010 01:42:09 -0800


On Dec 15, 2010, at 01:04, 吉田光宏 wrote:
The previous code is only a test , so it doesn't use an NSTimer.
But even though I am not using NSTimer in this test code, dealloc is not being called after I select a preset and then close the GUI.
So that made me believe that it is not related to NSTimer.


Is this supposed to occur?

No, but it probably is occurring because of an excess -retain. The challenge is to identify where the extra retain is coming from. Perhaps you can attach to the debugger while running your plugin in Logic, and see where the backtrace for every -retain call comes from. I'm not really sure that technique would work, though, as I have not tried it. Outside of the debugger, I'm not really sure how you would safely access the call stack.


It's certainly worth reporting, especially now that it seems you've ruled out the obvious culprits, and I hope someone else here can help.

Brian Willoughby
Sound Consulting

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Preset leaks cocoa UI resources.
      • From: tahome izwah <email@hidden>
References: 
 >Preset leaks cocoa UI resources. (From: Mitsuhiro Yoshida <email@hidden>)
 >Re: Preset leaks cocoa UI resources. (From: tahome izwah <email@hidden>)
 >Re: Preset leaks cocoa UI resources. (From: Mitsuhiro Yoshida <email@hidden>)
 >Re: Preset leaks cocoa UI resources. (From: Brian Willoughby <email@hidden>)
 >Re: Preset leaks cocoa UI resources. (From: 吉田光宏 <email@hidden>)

  • Prev by Date: Re: Preset leaks cocoa UI resources.
  • Next by Date: Re: Preset leaks cocoa UI resources.
  • Previous by thread: Re: Preset leaks cocoa UI resources.
  • Next by thread: Re: Preset leaks cocoa UI resources.
  • Index(es):
    • Date
    • Thread