mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
fix for bug #39126
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36686 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5c58cc793a
commit
3329cac81c
2 changed files with 13 additions and 1 deletions
|
@ -404,7 +404,10 @@ MUNLOCK
|
|||
- (BOOL) lockWhenCondition: (NSInteger)condition_to_meet
|
||||
beforeDate: (NSDate*)limitDate
|
||||
{
|
||||
[_condition lock];
|
||||
if (NO == [_condition lockBeforeDate: limitDate])
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
if (condition_to_meet == _condition_value)
|
||||
{
|
||||
return YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue