Fix debug build
This commit is contained in:
parent
a4962b4fe6
commit
d0ad098661
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue