Revert last change as it doesn't seem to fix the issue.

This commit is contained in:
Andrew Resch 2007-09-09 12:03:03 +00:00
parent f164cfd2cb
commit 8142c69e2a
1 changed files with 4 additions and 0 deletions

View File

@ -411,6 +411,10 @@ 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);