mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 17:21:11 -06:00
Fix of previous commit for OSX
This commit is contained in:
parent
961abd75e8
commit
546fbe1e8e
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ void RemovableDriveManager::eject_drive()
|
||||||
std::string correct_path(m_last_save_path);
|
std::string correct_path(m_last_save_path);
|
||||||
#if __APPLE__
|
#if __APPLE__
|
||||||
// On Apple, run the eject asynchronously on a worker thread, see the discussion at GH issue #4844.
|
// On Apple, run the eject asynchronously on a worker thread, see the discussion at GH issue #4844.
|
||||||
m_eject_thread = std::thread([this, correct_path, drive_data]()
|
m_eject_thread = new std::thread([this, correct_path, drive_data]()
|
||||||
#else
|
#else
|
||||||
// Escape spaces on Unix systems. Why not on Apple?
|
// Escape spaces on Unix systems. Why not on Apple?
|
||||||
boost::replace_all(correct_path, " ", "\\ ");
|
boost::replace_all(correct_path, " ", "\\ ");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue