Fixed a build

This commit is contained in:
YuSanka 2020-10-20 17:23:57 +02:00
parent 81ce368e5d
commit a4962b4fe6

View file

@ -395,7 +395,7 @@ Http::Http(Http &&other) : p(std::move(other.p)) {}
Http::~Http()
{
assert(! putFile);
assert(! p->putFile);
if (p && p->io_thread.joinable()) {
p->io_thread.detach();
}