mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
cleanup
This commit is contained in:
parent
3523bb421f
commit
8522c06812
2 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue