mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Fix text in exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ccea0283a0
commit
cf3295a004
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-07-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSConnection.m: Correct the text in exception when attempting
|
||||||
|
to read a response on an invalidated connection.
|
||||||
|
* Source/Additions/GSMime.m:
|
||||||
|
Fixup incorrect declaration of method in wrong class implementation.
|
||||||
|
|
||||||
2009-07-27 David Ayers <ayers@fsfe.org>
|
2009-07-27 David Ayers <ayers@fsfe.org>
|
||||||
|
|
||||||
* Source/Additions/GSCompatibility.m ([-boolValue]): Only compile
|
* Source/Additions/GSCompatibility.m ([-boolValue]): Only compile
|
||||||
|
|
|
@ -2870,15 +2870,22 @@ static void callEncoder (DOContext *ctxt)
|
||||||
NSTimeInterval last_interval = 0.0001;
|
NSTimeInterval last_interval = 0.0001;
|
||||||
NSTimeInterval delay_interval = last_interval;
|
NSTimeInterval delay_interval = last_interval;
|
||||||
NSDate *delay_date = nil;
|
NSDate *delay_date = nil;
|
||||||
NSRunLoop *runLoop = GSRunLoopForThread(nil);
|
NSRunLoop *runLoop;
|
||||||
BOOL isLocked = NO;
|
BOOL isLocked = NO;
|
||||||
|
|
||||||
|
if (_isValid == NO)
|
||||||
|
{
|
||||||
|
[NSException raise: NSObjectInaccessibleException
|
||||||
|
format: @"Connection has been invalidated"];
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we have sent out a request on a run loop that we don't already
|
* If we have sent out a request on a run loop that we don't already
|
||||||
* know about, it must be on a new thread - so if we have multipleThreads
|
* know about, it must be on a new thread - so if we have multipleThreads
|
||||||
* enabled, we must add the run loop of the new thread so that we can
|
* enabled, we must add the run loop of the new thread so that we can
|
||||||
* get the reply in this thread.
|
* get the reply in this thread.
|
||||||
*/
|
*/
|
||||||
|
runLoop = GSRunLoopForThread(nil);
|
||||||
if ([_runLoops indexOfObjectIdenticalTo: runLoop] == NSNotFound)
|
if ([_runLoops indexOfObjectIdenticalTo: runLoop] == NSNotFound)
|
||||||
{
|
{
|
||||||
if (_multipleThreads == YES)
|
if (_multipleThreads == YES)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue