mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
af737363bc
commit
c6e8018204
3 changed files with 38 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue