Allow invalidate to be called multiple times

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6816 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2000-06-27 03:28:00 +00:00
parent 243fb297b5
commit 104ecc6050
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2000-06-26 Adam Fedor <fedor@gnu.org>
* Source/NSTimer.m (-invalidate): Remove assertion.
2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPortCoder.m: Rewrite of NSPortCoder - under development.

View file

@ -148,7 +148,8 @@ static Class NSDate_class;
- (void) invalidate
{
NSAssert(_invalidated == NO, NSInternalInconsistencyException);
/* OPENSTEP allows this method to be called multiple times. */
//NSAssert(_invalidated == NO, NSInternalInconsistencyException);
_invalidated = YES;
}