• 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
[SOLVED]Re: NSPasteboard in Carbon App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED]Re: NSPasteboard in Carbon App


  • Subject: [SOLVED]Re: NSPasteboard in Carbon App
  • From: Martin Häcker <email@hidden>
  • Date: Tue, 3 Aug 2004 00:08:48 +0200

At 9:44 Uhr +0200 02.08.2004, Martin Hdcker wrote:
Hi there,

when using NSPasteboard from a carbon App (a Finder contextual-menu) I'm getting errors that it autoreleases a strings and mutabledata without an autorelease pool in place - i.e. it's just leaking them.

Well, I was able to code around the problem by just setting up an autorelease pool when my plugin is done and releasing it when my tool is executed next.

This still seems verry hackisch, so if anybody has a better suggestion please suggest it - but it seems to work for the moment.

cu Martin
--
dont.wanna.tell
[ot]coder - hehe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Binding woes, connecting model to NSArrayController, crash on remove/insert
      • From: "Sean McBride" <email@hidden>
References: 
 >NSPasteboard in Carbon App (From: Martin Häcker <email@hidden>)

  • Prev by Date: Files in Application Support
  • Next by Date: Re: Terminate Process By Name
  • Previous by thread: NSPasteboard in Carbon App
  • Next by thread: Binding woes, connecting model to NSArrayController, crash on remove/insert
  • Index(es):
    • Date
    • Thread