Opened 5 years ago

Closed 4 years ago

#2303 closed bug (Fixed)

Torrent state not updated until after emitting TorrentFinishedEvent

Reported by: Cas Owned by:
Priority: minor Milestone: 1.3.7
Component: Core Version: 1.3.6
Keywords: Cc:

Description

In torrentmanager.py method on_alert_torrent_finished the call torrent.update_state() should be done before the emitting of TorrentFinishedEvent? so that the torrent state is correct.

This could explain some inconsistencies when a torrent switches from Downloading to Seeding in gtkui or plugins.

Change History (1)

comment:1 Changed 4 years ago by Cas

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

Fixed 1.3-stable: 5057e2caab9

Note: See TracTickets for help on using tickets.