Closing an NSConnection
Closing an NSConnection
- Subject: Closing an NSConnection
- From: Joe Lester <email@hidden>
- Date: Tue, 9 Jul 2002 16:47:40 -0500
This seems like it should be trivial but...
How does one go about closing (or removing the name registration for) an
NSConnection?
In my " Server" program, when a document opens, it establishes an
NSConnection to expose it's primary data source. This part works fine,
and the clients can see it.
My problem is that when I close my document and open another one, it
does not allow me to register its connection under the same name like
this:
[connection registerName:@"serverName"];
It almost seems like the old connection is still open even though I am
releasing it when the document closes.
Any ideas?
_______________________________________________
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.