This commit is contained in:
David Kocik 2020-12-10 11:00:14 +01:00
parent 3523bb421f
commit 8522c06812
2 changed files with 0 additions and 5 deletions

View file

@ -274,9 +274,5 @@ void PrintHostJobQueue::cancel(size_t id)
{
p->channel_cancels.push(id);
}
bool PrintHostJobQueue::can_close()
{
return !p->bg_thread.joinable();
}
}

View file

@ -109,7 +109,6 @@ public:
void enqueue(PrintHostJob job);
void cancel(size_t id);
bool can_close();
private:
struct priv;
std::shared_ptr<priv> p;