mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
Properly stop DHT in torrent_stop_DHT() in deluge_core.cpp.
This commit is contained in:
parent
9ac7eed49b
commit
e40398652c
1 changed files with 2 additions and 0 deletions
|
@ -1369,6 +1369,8 @@ static PyObject *torrent_stop_DHT(PyObject *self, PyObject *args)
|
|||
std::cerr << e.what() << "\n";
|
||||
}
|
||||
|
||||
M_ses->stop_dht();
|
||||
|
||||
Py_INCREF(Py_None); return Py_None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue