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); 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 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;