Fix issue of port not being closed properly on exit.
This commit is contained in:
parent
af177749ff
commit
f164cfd2cb
|
@ -411,10 +411,6 @@ static PyObject *torrent_quit(PyObject *self, PyObject *args)
|
|||
{
|
||||
M_settings->stop_tracker_timeout = 5;
|
||||
M_ses->set_settings(*M_settings);
|
||||
printf("core: removing torrents...\r\n");
|
||||
delete M_torrents;
|
||||
printf("core: removing settings...\r\n");
|
||||
delete M_settings;
|
||||
printf("core: shutting down session...\r\n");
|
||||
delete M_ses; // 100% CPU...
|
||||
Py_DECREF(M_constants);
|
||||
|
|
Loading…
Reference in New Issue