mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed an issue with background processing cancelation & SLA supports
for a single object only. Fixed a spelling issue in "call_cancell_xxx"
This commit is contained in:
parent
b84eb48bff
commit
76f1aa09d0
4 changed files with 12 additions and 11 deletions
|
@ -326,7 +326,7 @@ protected:
|
|||
|
||||
tbb::mutex& state_mutex() const { return m_state_mutex; }
|
||||
std::function<void()> cancel_callback() { return m_cancel_callback; }
|
||||
void call_cancell_callback() { m_cancel_callback(); }
|
||||
void call_cancel_callback() { m_cancel_callback(); }
|
||||
|
||||
// If the background processing stop was requested, throw CanceledException.
|
||||
// To be called by the worker thread and its sub-threads (mostly launched on the TBB thread pool) regularly.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue