Properly stop DHT in torrent_stop_DHT() in deluge_core.cpp.

This commit is contained in:
Alex Dedul 2007-08-04 15:29:55 +00:00
parent 9ac7eed49b
commit e40398652c
1 changed files with 2 additions and 0 deletions

View File

@ -1368,6 +1368,8 @@ static PyObject *torrent_stop_DHT(PyObject *self, PyObject *args)
printf("An error occured in saving DHT\r\n");
std::cerr << e.what() << "\n";
}
M_ses->stop_dht();
Py_INCREF(Py_None); return Py_None;
}