mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fix error checking for perform on finished thread
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36057 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
17bfabe94d
commit
f021b1efe0
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-02-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSThread.m: Fix error in check for perform on finished thread.
|
||||
|
||||
2013-01-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSCalendar.m: (-[dateByAddingComponents:toDate:options:]),
|
||||
|
|
|
@ -1260,7 +1260,7 @@ GSRunLoopInfoForThread(NSThread *aThread)
|
|||
GSPerformHolder *h;
|
||||
NSConditionLock *l = nil;
|
||||
|
||||
if ([t isFinished] == YES)
|
||||
if ([aThread isFinished] == YES)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"perform on finished thread"];
|
||||
|
|
Loading…
Reference in a new issue