mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
|
@ -2870,15 +2870,22 @@ static void callEncoder (DOContext *ctxt)
|
|||
NSTimeInterval last_interval = 0.0001;
|
||||
NSTimeInterval delay_interval = last_interval;
|
||||
NSDate *delay_date = nil;
|
||||
NSRunLoop *runLoop = GSRunLoopForThread(nil);
|
||||
NSRunLoop *runLoop;
|
||||
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
|
||||
* 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
|
||||
* get the reply in this thread.
|
||||
*/
|
||||
runLoop = GSRunLoopForThread(nil);
|
||||
if ([_runLoops indexOfObjectIdenticalTo: runLoop] == NSNotFound)
|
||||
{
|
||||
if (_multipleThreads == YES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue