mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Added warning for autorelease without a pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3002 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5f94f13a30
commit
c4337b9ca9
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
|
||||
an object is autoreleased without a pool being present.
|
||||
This should avoid many mistakes by newbies who don't understand
|
||||
the retain/release/autorelease mechanism (perhaps it'll encourage
|
||||
them to read up about it). It also serves as a useful reminder
|
||||
when you DO know what you are doing.
|
||||
|
||||
Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Removed MallocAddress class -
|
||||
|
|
Loading…
Reference in a new issue