_downloadManager.reset() on deconstructor, not .release()

Whoops. That's that I meant to do. Ah, brain: you are soooooo reliable.
This commit is contained in:
Matthew Territo
2016-07-05 16:42:50 -06:00
parent b96b1d8a84
commit fb39949daf
+1 -1
View File
@@ -204,7 +204,7 @@ SyncWidget::~SyncWidget() {
f.write(size.data.data(), sizeof(uint32_t));
f.write(buffer.data(), buffer.size());
_downloadManager.release();
_downloadManager.reset();
ghoul::deinitialize();
delete _session;
}