Fix for logic of 'executing' state by Fred

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37763 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2014-03-25 10:29:35 +00:00
parent 51fc1f745e
commit 58f05fde30
2 changed files with 6 additions and 2 deletions

View file

@ -521,7 +521,7 @@ static NSArray *empty = nil;
[internal->lock lock];
if (NO == internal->finished)
{
if (NO == internal->executing)
if (YES == internal->executing)
{
[self willChangeValueForKey: @"isExecuting"];
[self willChangeValueForKey: @"isFinished"];