Fix debug build

This commit is contained in:
Lukas Matena 2020-10-20 17:55:32 +02:00
parent a4962b4fe6
commit d0ad098661

View file

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