Source/NSWorkspace.m: Log if we have a distributed lock error instead of raise fatally.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Jonathan Gillaspie 2012-09-04 20:21:31 +00:00
parent caae5ea873
commit 3a023b859a
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-09-04 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
* Source/NSWorkspace.m: Log if we have a distributed lock error instead of raise fatally.
2012-08-31 16:34-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSXibLoader.m: Merge from trunk

View file

@ -246,7 +246,15 @@ static id GSLaunched(NSNotification *notification, BOOL active)
{
[file writeToFile: path atomically: YES];
}
[lock unlock];
NS_DURING
{
[lock unlock];
}
NS_HANDLER
{
NSLog(@"NSWorkspace lock: %@", localException);
}
NS_ENDHANDLER
if (active == YES)
{