mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
([Connection -_getReceivedReplyRmcWithSequenceNumber:]): Break if the
RunLoop returns NO. (Reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>.) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
51e3defb59
commit
9d46f24e66
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Implementation of connection object for remote object messaging
|
||||
Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: July 1994
|
||||
|
@ -1000,8 +1000,9 @@ static int messages_received_count;
|
|||
if (!timeout_date)
|
||||
timeout_date = [[NSDate alloc]
|
||||
initWithTimeIntervalSinceNow: in_timeout];
|
||||
[RunLoop runOnceBeforeDate: timeout_date
|
||||
forMode: RunLoopConnectionReplyMode];
|
||||
if ([RunLoop runOnceBeforeDate: timeout_date
|
||||
forMode: RunLoopConnectionReplyMode] == NO)
|
||||
break;
|
||||
}
|
||||
reply_depth--;
|
||||
return rmc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue