Overview
| Comment: | OFTimer: Fix -[initWith...block:]. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1550e4988bd60721a9a59197d220ed7d |
| User & Date: | js on 2012-09-17 10:11:06 |
| Other Links: | manifest | tags |
Context
|
2012-09-17
| ||
| 10:18 | Add -[performSelectorOnMainThread:waitUntilDone:]. (check-in: e959c99f85 user: js tags: trunk) | |
| 10:11 | OFTimer: Fix -[initWith...block:]. (check-in: 1550e4988b user: js tags: trunk) | |
| 09:30 | Simplify autoreleasing. (check-in: c9bea2982f user: js tags: trunk) | |
Changes
Modified src/OFTimer.m from [64d40f42ce] to [ae314df2e8].
| ︙ | ︙ | |||
298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
self = [super init];
@try {
fireDate = [fireDate_ retain];
interval = interval_;
repeats = repeats_;
block = [block_ copy];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
| > > | 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 |
self = [super init];
@try {
fireDate = [fireDate_ retain];
interval = interval_;
repeats = repeats_;
block = [block_ copy];
isValid = YES;
condition = [[OFCondition alloc] init];
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
|
| ︙ | ︙ |