fixed bug where tracker wouldn't be announced when deleting files

This commit is contained in:
Arvid Norberg 2007-12-07 03:09:21 +00:00
parent a7f6e3bccb
commit d695a44360
1 changed files with 2 additions and 0 deletions

View File

@ -2760,6 +2760,8 @@ namespace libtorrent
#endif
disconnect_all();
if (!m_paused)
m_just_paused = true;
m_paused = true;
// tell the tracker that we stopped
m_event = tracker_request::stopped;