Skip to content

Commit

Permalink
Merge branch 'lh_locales'
Browse files Browse the repository at this point in the history
  • Loading branch information
hejllukas committed Jun 2, 2022
2 parents 345ee7c + 6bdaf0e commit 43f2018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libslic3r/GCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ class TBBLocalesSetter : public tbb::task_scheduler_observer
{
public:
TBBLocalesSetter() { this->observe(true); }
~TBBLocalesSetter() override = default;
~TBBLocalesSetter() override { this->observe(false); };

void on_scheduler_entry(bool is_worker) override
{
Expand All @@ -1513,7 +1513,7 @@ class TBBLocalesSetter : public tbb::task_scheduler_observer
}

private:
tbb::enumerable_thread_specific<bool, tbb::cache_aligned_allocator<bool>, tbb::ets_key_usage_type::ets_key_per_instance> m_is_locales_sets;
tbb::enumerable_thread_specific<bool, tbb::cache_aligned_allocator<bool>, tbb::ets_key_usage_type::ets_key_per_instance> m_is_locales_sets{false};
};

// Process all layers of all objects (non-sequential mode) with a parallel pipeline:
Expand Down

0 comments on commit 43f2018

Please sign in to comment.