summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/transferserver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp
index eea9f3a..9519d11 100644
--- a/core/launcher/transferserver.cpp
+++ b/core/launcher/transferserver.cpp
@@ -345,6 +345,8 @@ ServerPI::ServerPI( int socket, QObject *parent, const char* name )
ServerPI::~ServerPI()
{
close();
+
+ if ( dtp )
dtp->close();
delete dtp;
delete serversocket;