Opened 11 years ago

Closed 11 years ago

#3407 closed Bug (fixed)

Stop ratio callback called twice in some situations

Reported by: livings124 Owned by: charles
Priority: Normal Milestone: 2.02
Component: libtransmission Version: 2.01
Severity: Normal Keywords:


When seeding is finished in some situations - such as when setting a multifile torrent to stop at ratio 0, starting the download, and deselecting all the files - the stop ratio callback is called twice.

Change History (4)

comment:1 Changed 11 years ago by charles

  • Milestone changed from None Set to 2.02
  • Status changed from new to assigned

comment:2 Changed 11 years ago by charles

Added an experimental fix to trunk by r10996.

comment:3 Changed 11 years ago by livings124

This fixes the issue. The only concern is that changes to the settings that make the ratio met (decreasing the ratio, toggling off remaining files). The wait before the transfer stops appears to be a second or less, so it's probably not worth worrying about.

comment:4 Changed 11 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

Backported to the 2.0x branch by r10997

Note: See TracTickets for help on using tickets.