• 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
Removing A NSURLConnection From A NSRunLoop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing A NSURLConnection From A NSRunLoop


  • Subject: Removing A NSURLConnection From A NSRunLoop
  • From: Todd Lair <email@hidden>
  • Date: Sun, 29 Feb 2004 13:03:11 -0500

I have a background thread running its NSRunLoop. I've figured out how to remove or invalidate the timers, socket sources, and distributed object connections so that my loop exits the run call. I'm stuck though with NSURLConnections. I've tried calling cancel which seems to not reduce the retain count of the connection instance. I've tried releasing it. It only inherits from NSObject, so the sources are hidden from me.

How do I ask a NSURLConnection to clean up all its NSRunLoop stuff?

Thanks in advance!
_______________________________________________
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.


  • Prev by Date: Re: Databasing and Cocoa
  • Next by Date: Re: Trouble accessing Objective-C++ code from a C++ thread
  • Previous by thread: Cursor attribute won't save
  • Next by thread: Re: Trouble accessing Objective-C++ code from a C++ thread
  • Index(es):
    • Date
    • Thread