URL:
  <http://savannah.gnu.org/bugs/?25270>

                 Summary: -[NSTimer invalidate] should release target and
userInfo, but no longer does
                 Project: GNUstep
            Submitted by: lcampbel
            Submitted on: Wed 07 Jan 2009 11:46:46 PM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Revision 25780 on the svn trunk broke this: -{NSTimer invalidate] should
release its target and userInfo, but this code got moved into the dealloc
method. This is wrong: Mac OS X documentation clearly states that invalidate
releases the target and userInfo; and it's broken: often the target itself
owns a reference to the NSTimer, and would rely on invalidate to break the
reference count loop.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25270>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to