improve debug/error logging a little.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25780 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-12-24 20:51:19 +00:00
parent af737363bc
commit c6e8018204
3 changed files with 38 additions and 26 deletions

View file

@ -196,6 +196,14 @@ static Class NSDate_class;
{
[self invalidate];
}
if (_target != nil)
{
DESTROY(_target);
}
if (_info != nil)
{
DESTROY(_info);
}
RELEASE(_date);
[super dealloc];
}
@ -253,14 +261,6 @@ static Class NSDate_class;
*/
- (void) invalidate
{
if (_target != nil)
{
DESTROY(_target);
}
if (_info != nil)
{
DESTROY(_info);
}
/* OPENSTEP allows this method to be called multiple times. */
//NSAssert(_invalidated == NO, NSInternalInconsistencyException);
_invalidated = YES;