mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-27 15:49:52 -05:00
FIX: local file proto
Change-Id: Ie45dc223a027e3855f1242bfeed2f346b1df600f Jira: none (cherry picked from commit e709ddacc8388970b62b62f1958736e13c4dca96)
This commit is contained in:
1 parent
ef5463f9fe
commit
b6b6ef57da
3 files changed
+8
-4
No files matched your search
@@ -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