mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-24 23:27:46 +08:00
cleanup
This commit is contained in:
parent
3523bb421f
commit
8522c06812
@ -274,9 +274,5 @@ void PrintHostJobQueue::cancel(size_t id)
|
|||||||
{
|
{
|
||||||
p->channel_cancels.push(id);
|
p->channel_cancels.push(id);
|
||||||
}
|
}
|
||||||
bool PrintHostJobQueue::can_close()
|
|
||||||
{
|
|
||||||
return !p->bg_thread.joinable();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,6 @@ public:
|
|||||||
void enqueue(PrintHostJob job);
|
void enqueue(PrintHostJob job);
|
||||||
void cancel(size_t id);
|
void cancel(size_t id);
|
||||||
|
|
||||||
bool can_close();
|
|
||||||
private:
|
private:
|
||||||
struct priv;
|
struct priv;
|
||||||
std::shared_ptr<priv> p;
|
std::shared_ptr<priv> p;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user