mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: local file proto
Change-Id: Ie45dc223a027e3855f1242bfeed2f346b1df600f Jira: none (cherry picked from commit e709ddacc8388970b62b62f1958736e13c4dca96)
This commit is contained in:
@@ -1546,7 +1546,9 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
|
||||
ret = Bambu_StartStreamEx
|
||||
? Bambu_StartStreamEx(tunnel, CTRL_TYPE)
|
||||
: Bambu_StartStream(tunnel, false);
|
||||
} while (ret == Bambu_would_block);
|
||||
if (ret == Bambu_would_block)
|
||||
boost::this_thread::sleep(boost::posix_time::milliseconds(100));
|
||||
} while (ret == Bambu_would_block && !m_stopped);
|
||||
l.lock();
|
||||
if (ret == 0) {
|
||||
m_session.tunnel = tunnel;
|
||||
|
||||
Reference in New Issue
Block a user