mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Don't issue warning if only disconnect is in send queue.
This commit is contained in:
parent
9b7f759347
commit
592644ae43
@ -1133,7 +1133,8 @@ bool View::DrawImpl()
|
|||||||
if( m_reactToLostConnection && !m_worker.IsConnected() )
|
if( m_reactToLostConnection && !m_worker.IsConnected() )
|
||||||
{
|
{
|
||||||
m_reactToLostConnection = false;
|
m_reactToLostConnection = false;
|
||||||
if( m_worker.GetSendInFlight() > 0 )
|
const auto inFlight = m_worker.GetSendInFlight();
|
||||||
|
if( inFlight > 1 || ( inFlight == 1 && !m_worker.WasDisconnectIssued() ) )
|
||||||
{
|
{
|
||||||
ImGui::OpenPopup( "Connection lost!" );
|
ImGui::OpenPopup( "Connection lost!" );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user