mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 09:21:00 +00:00
dont unreigster non existent named port
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26935 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fcb9767969
commit
b078bfc7c9
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-10-19 Riccardo Mottola <rmottola@users.sf.net>>
|
||||||
|
|
||||||
|
* Source/GSServicesManager.m: dont unreigster non existent named port
|
||||||
|
|
||||||
2008-10-18 19:06-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
2008-10-18 19:06-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/NSWindow.m: Remove code in stringWithSavedFrame which was causing a
|
* Source/NSWindow.m: Remove code in stringWithSavedFrame which was causing a
|
||||||
|
|
|
@ -142,7 +142,7 @@ NSRegisterServicesProvider(id provider, NSString *name)
|
||||||
|
|
||||||
ns = [NSPortNameServer systemDefaultPortNameServer];
|
ns = [NSPortNameServer systemDefaultPortNameServer];
|
||||||
namedPort = [ns portForName: name];
|
namedPort = [ns portForName: name];
|
||||||
if ([listenerConnection receivePort] == namedPort)
|
if (namedPort && [listenerConnection receivePort] == namedPort)
|
||||||
{
|
{
|
||||||
[ns removePortForName: name];
|
[ns removePortForName: name];
|
||||||
namedPort = nil;
|
namedPort = nil;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue