mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 19:08:40 +00:00
testing some shutdown tweaks
This commit is contained in:
parent
ab9a3f778f
commit
047a32ef9f
1 changed files with 1 additions and 4 deletions
|
@ -430,10 +430,7 @@ static PyObject *torrent_quit(PyObject *self, PyObject *args)
|
||||||
M_settings->stop_tracker_timeout = 3;
|
M_settings->stop_tracker_timeout = 3;
|
||||||
M_settings->tracker_receive_timeout = 3;
|
M_settings->tracker_receive_timeout = 3;
|
||||||
M_ses->set_settings(*M_settings);
|
M_ses->set_settings(*M_settings);
|
||||||
printf("core: removing torrents...\r\n");
|
session_proxy sp = M_ses->abort();
|
||||||
delete M_torrents;
|
|
||||||
printf("core: removing settings...\r\n");
|
|
||||||
delete M_settings;
|
|
||||||
printf("core: shutting down session...\r\n");
|
printf("core: shutting down session...\r\n");
|
||||||
delete M_ses; // 100% CPU...
|
delete M_ses; // 100% CPU...
|
||||||
Py_DECREF(M_constants);
|
Py_DECREF(M_constants);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue