Overview
| Comment: | Only schedule valid timers for repeating. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
6673513f335c312034a2bda4cc67041a |
| User & Date: | js on 2012-09-17 06:59:41 |
| Other Links: | manifest | tags |
Context
|
2012-09-17
| ||
| 09:30 | Simplify autoreleasing. (check-in: c9bea2982f user: js tags: trunk) | |
| 06:59 | Only schedule valid timers for repeating. (check-in: 6673513f33 user: js tags: trunk) | |
| 06:58 | Pass the timer as argument in timer blocks. (check-in: be7d619b6e user: js tags: trunk) | |
Changes
Modified src/OFTimer.m from [adae929703] to [64d40f42ce].
| ︙ | ︙ | |||
366 367 368 369 370 371 372 | } #endif [condition lock]; [condition signal]; [condition unlock]; | | | 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
}
#endif
[condition lock];
[condition signal];
[condition unlock];
if (repeats && isValid) {
OFDate *old = fireDate;
fireDate = [[OFDate alloc]
initWithTimeIntervalSinceNow: interval];
[old release];
[[OFRunLoop currentRunLoop] addTimer: self];
} else
|
| ︙ | ︙ |