testing some shutdown tweaks

This commit is contained in:
Marcos Pinto 2007-11-06 22:27:07 +00:00
parent ab9a3f778f
commit 047a32ef9f
1 changed files with 1 additions and 4 deletions

View File

@ -430,10 +430,7 @@ static PyObject *torrent_quit(PyObject *self, PyObject *args)
M_settings->stop_tracker_timeout = 3;
M_settings->tracker_receive_timeout = 3;
M_ses->set_settings(*M_settings);
printf("core: removing torrents...\r\n");
delete M_torrents;
printf("core: removing settings...\r\n");
delete M_settings;
session_proxy sp = M_ses->abort();
printf("core: shutting down session...\r\n");
delete M_ses; // 100% CPU...
Py_DECREF(M_constants);