Differences From Artifact [ca3ccd4ed1]:
- File
tests/OFAutoreleasePool/OFAutoreleasePool.m
— part of check-in
[6d589825cd]
at
2009-05-13 20:39:59
on branch trunk
— Let - release return void again.
If you want to know if it will be released, you can just get the retain
count and check it this way. (user: js, size: 1846) [annotate] [blame] [check-ins using]
To Artifact [0efd8e9184]:
- File tests/OFAutoreleasePool/OFAutoreleasePool.m — part of check-in [bdc9b3219f] at 2009-05-14 14:24:02 on branch trunk — Get rid of OFNotInSetException. (user: js, size: 1937) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
94 95 96 97 98 99 100 | o2 = [[[OFObject alloc] init] autorelease]; pool2 = [[OFAutoreleasePool alloc] init]; o3 = [[[OFObject alloc] init] autorelease]; [pool1 release]; | > > | | 94 95 96 97 98 99 100 101 102 103 104 | o2 = [[[OFObject alloc] init] autorelease]; pool2 = [[OFAutoreleasePool alloc] init]; o3 = [[[OFObject alloc] init] autorelease]; [pool1 release]; printf("inits: %02d\nretains: %02d\nreleases: %02d\n", inits, retains, releases); return (inits == 17 && retains == 5 && releases == 16 ? 0 : 1); } |