mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-30 01:54:40 +08:00
Fix debug build
This commit is contained in:
parent
a4962b4fe6
commit
d0ad098661
@ -395,7 +395,7 @@ Http::Http(Http &&other) : p(std::move(other.p)) {}
|
|||||||
|
|
||||||
Http::~Http()
|
Http::~Http()
|
||||||
{
|
{
|
||||||
assert(! p->putFile);
|
assert(! p || ! p->putFile);
|
||||||
if (p && p->io_thread.joinable()) {
|
if (p && p->io_thread.joinable()) {
|
||||||
p->io_thread.detach();
|
p->io_thread.detach();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user