From 8142c69e2ada8acb6044a94ec646da3f304b41d9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 9 Sep 2007 12:03:03 +0000 Subject: [PATCH] Revert last change as it doesn't seem to fix the issue. --- src/deluge_core.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index c61ec3623..8d002720b 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -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);