mirror of
https://github.com/transmission/transmission
synced 2025-03-03 02:05:19 +00:00
• treat quitting when updating the same as quitting normally in regards to announcing
• change log wording change
This commit is contained in:
parent
a11d3351d4
commit
d619e30a43
3 changed files with 4 additions and 6 deletions
2
NEWS
2
NEWS
|
@ -1,7 +1,7 @@
|
|||
NEWS file for Transmission <http://transmission.m0k.org/>
|
||||
|
||||
0.72 (2007/04/30)
|
||||
- Reset download/upload rates when sending "started"
|
||||
- Reset download/upload amounts when sending "started"
|
||||
- Fix rare XML parsing bug
|
||||
|
||||
0.71 (2007/04/23)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<h4>Transmission Changes:</h4>
|
||||
<ul>
|
||||
<li>Reset download/upload rates when sending "started"</li>
|
||||
<li>Reset download/upload amounts when sending "started"</li>
|
||||
<li>Fix rare XML parsing bug</li>
|
||||
</ul>]]></description>
|
||||
<pubDate>Mon, 30 Apr 2007 11:39:00 -0400</pubDate>
|
||||
|
|
|
@ -526,10 +526,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
//clear badge
|
||||
[fBadger clearBadge];
|
||||
|
||||
//end quickly if the app is updating
|
||||
if (fUpdateInProgress)
|
||||
return;
|
||||
|
||||
//wait for running transfers to stop (5 second timeout)
|
||||
NSDate * start = [NSDate date];
|
||||
BOOL timeUp = NO;
|
||||
|
@ -537,11 +533,13 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
enumerator = [fTorrents objectEnumerator];
|
||||
Torrent * torrent;
|
||||
while (!timeUp && (torrent = [enumerator nextObject]))
|
||||
{
|
||||
while (![torrent isPaused] && !(timeUp = [start timeIntervalSinceNow] < -5.0))
|
||||
{
|
||||
usleep(100000);
|
||||
[torrent update];
|
||||
}
|
||||
}
|
||||
|
||||
//wait for NAT to be disabled (same 5 second timeout)
|
||||
while (!([start timeIntervalSinceNow] < -5.0)
|
||||
|
|
Loading…
Reference in a new issue