mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 13:34:05 -06:00
FIX: error log reduce
Change-Id: I836ba41eefb3a8c12a57a22d208ee7d60140e345
This commit is contained in:
parent
f343b4d1db
commit
c58baa6b16
7 changed files with 29 additions and 16 deletions
|
@ -1074,9 +1074,14 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
|
|||
if (ret == 0)
|
||||
ret = Bambu_StartStream(tunnel, false);
|
||||
l.lock();
|
||||
m_session.tunnel = tunnel;
|
||||
if (ret == 0)
|
||||
if (ret == 0) {
|
||||
m_session.tunnel = tunnel;
|
||||
break;
|
||||
}
|
||||
if (tunnel) {
|
||||
Bambu_Close(tunnel);
|
||||
Bambu_Destroy(tunnel);
|
||||
}
|
||||
m_last_error = ret;
|
||||
}
|
||||
m_status = Status::Failed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue