Alexander Dyagilev
2017-07-07 12:13:16 UTC
Hello,
I need to delete a torrent and add it again.
Docs states:
/"The removal of the torrent is asynchronous, there is no guarantee that
adding the same torrent immediately after it was removed will not throw
a //libtorrent_exception
<http://libtorrent.org/reference-Error_Codes.html#libtorrent_exception>//exception."/
Is it enough to wait for /torrent_removed_alert/ and then add the
torrent immediately, or should wait for /torrent_deleted_alert/ also (in
case I delete a torrent with the files)?
I need to delete a torrent and add it again.
Docs states:
/"The removal of the torrent is asynchronous, there is no guarantee that
adding the same torrent immediately after it was removed will not throw
a //libtorrent_exception
<http://libtorrent.org/reference-Error_Codes.html#libtorrent_exception>//exception."/
Is it enough to wait for /torrent_removed_alert/ and then add the
torrent immediately, or should wait for /torrent_deleted_alert/ also (in
case I delete a torrent with the files)?