summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-08-17 08:54:09 +0200
committerTannin <devnull@localhost>2013-08-17 08:54:09 +0200
commit92720131035a86bf06a29d35ebccd980c0178e6b (patch)
tree4359f7b48b570d9a7a73e2ffdd3c95f0f621958f /src/shared
parentd0f2c4fcf79222d5c6f3c17188a811b0a47833c6 (diff)
- bugfix: download manager will now properly pause all downloads on exiting the application
- bugfix: resumed downloads now get their automatic-retry-count reset - fiddled with condition tests in fomod (not sure if it works right now)
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/directoryentry.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp
index ceba113d..76912b66 100644
--- a/src/shared/directoryentry.cpp
+++ b/src/shared/directoryentry.cpp
@@ -54,6 +54,11 @@ public:
LEAK_TRACE;
}
+ ~OriginConnection()
+ {
+ LEAK_UNTRACE;
+ }
+
FilesOrigin& createOrigin(const std::wstring &originName, const std::wstring &directory, int priority,
boost::shared_ptr<FileRegister> fileRegister, boost::shared_ptr<OriginConnection> originConnection) {
int newID = createID();