Ignore:
Timestamp:
03/10/03 05:48:21 (21 years ago)
Author:
Nicholas Riley
Message:

PSTimer.m: Fix bug 15, leaking PSTimer from NSInvocation argument retention.

Read Me.rtfd: Updated release notes.

PSAlarm.[hm]: Removed obsolete comment. Changed 1m-59m times to
display without `0h'. Moved code from deserialization to -resetTimer
to be used for alarm deletion undo - fix bug 14.

PSAlarmsController.m: Fix bug 14 - implement _restoreAlarms:,
_removeAlarms and _undoManager. Need to add localized string.

PSAlarmAlertController.m: Fix bug 17, move alert triggering from
constructor to -performAlertsForAlarm: to avoid nested notifications
delivering in wrong order.

PSAlarms.[hm]: Fix bug 14 - implement -restoreAlarms, invokes [PSAlarm
resetTimer]. Clarified a comment. Uncommented some debug logging.

package-Pester.sh: Implemented partition map-less disk image, saves a
few K on distribution. Removed obsolete comments. Added agvtool
bump.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSTimer.m

    r103 r113  
    144144        repeats = yesOrNo;
    145145        timeInterval = ti;
    146         [invocation retainArguments]; // mimics retain behavior
     146        // don't do this or we leak: [invocation retainArguments];
     147        [aTarget retain]; // mimics retain behavior
    147148        [self _setFireDateFromInterval];
    148149        [[self class] _timerAdded: self]; // mimics runloop retention behavior
     
    163164    isValid = NO;
    164165    [fireDate release]; fireDate = nil;
     166    [[invocation target] release];
    165167    [invocation release]; invocation = nil;
    166168    [userInfo release]; userInfo = nil;
Note: See TracChangeset for help on using the changeset viewer.