avoid a potential crash when removing transfers
This commit is contained in:
parent
769629499e
commit
888034385c
2
NEWS
2
NEWS
|
@ -1,7 +1,7 @@
|
|||
=== Transmission 1.80 (In Development) ===
|
||||
[http://trac.transmissionbt.com/query?milestone=1.80&group=component&groupdesc=1&order=severity All tickets closed by this release]
|
||||
==== All Platforms ====
|
||||
* Added support for Magnet links
|
||||
* Magnet link support
|
||||
* If a torrent has multiple tracker tiers, announce to them in parallel
|
||||
* Add optional "incomplete directory" where partial downloads are stored
|
||||
* Trackerless torrent support
|
||||
|
|
|
@ -356,9 +356,13 @@
|
|||
|
||||
- (void) clearLog: (id) sender
|
||||
{
|
||||
[fLock lock];
|
||||
|
||||
[fMessages removeAllObjects];
|
||||
[fDisplayedMessages removeAllObjects];
|
||||
[fMessageTable reloadData];
|
||||
|
||||
[fLock unlock];
|
||||
}
|
||||
|
||||
- (void) writeToFile: (id) sender
|
||||
|
|
|
@ -579,7 +579,7 @@ int trashDataFile(const char * filename)
|
|||
|
||||
- (NSString *) name
|
||||
{
|
||||
return [NSString stringWithUTF8String: fInfo->name];
|
||||
return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : @"";
|
||||
}
|
||||
|
||||
- (BOOL) isFolder
|
||||
|
@ -1753,7 +1753,6 @@ int trashDataFile(const char * filename)
|
|||
|
||||
[self createFileList];
|
||||
|
||||
#warning only call when torrent is selected
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"ResetInspector" object: self];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue