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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Günther Noack <guenthernoack>
Submitted on:  Mon 19 Feb 2007 06:32:08 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

I fixed that in svn ... thanks.

Richard Frith-Macdonald <CaS>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Feb 2007 07:12:36 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1