bugGNUstep - Bugs: bug #19099, NSRunLoop: performSelector obj...

Group
 
 

bug #19099: NSRunLoop: performSelector obj retaining issue (easy to fix)

Submitter:  Günther Noack <guenthernoack>
Submitted:  Mon 19 Feb 2007 06:32:08 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 19 Feb 2007 07:12:36 PM UTC, comment #1: 

I fixed that in svn ... thanks.

Richard Frith-Macdonald <CaS>
Group Member
Mon 19 Feb 2007 06:32:08 PM UTC, original submission:  



--Quote starts here------------
/**

  • Sets up sending of aSelector to target with argument.<br />
  • The selector is sent before the next runloop iteration (unless
  • cancelled before then) in any of the specified modes.<br />
  • The target and argument objects are <em>not</em> retained.<br />
  • The order value is used to determine the order in which messages
  • are sent if multiple messages have been set up. Messages with a lower
  • order value are sent first.<br />
  • If the modes array is empty, this method has no effect.

 */
- (void) performSelector: (SEL)aSelector
                  target: (id)target
                argument: (id)argument
                   order: (unsigned int)order
                   modes: (NSArray*)modes
--Quote ends here--------------------------

The target and argument arguments should be retained here. (GNUstep documentation and implementation for this method contradict with Apple's documentation.)

Günther Noack <guenthernoack>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by guenthernoack (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-02-19 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code