From 881a85be20d8c5f2972082ba6b02c1a4b01f231c Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 9 Jun 2007 01:32:54 +0000 Subject: [PATCH] trying a little session close rearranging --- src/deluge_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index ee65a147c..b8314a9d3 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -357,10 +357,10 @@ static PyObject *torrent_quit(PyObject *self, PyObject *args) { M_settings->stop_tracker_timeout = 5; M_ses->set_settings(*M_settings); - printf("core: removing settings...\r\n"); - delete 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);