mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
cleanup
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user