Skip to content

Commit

Permalink
fix the dtls leave session open trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Oct 29, 2024
1 parent 6ed240f commit 5e6c291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packetnetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -991,9 +991,9 @@ void PacketNetwork::packetToSend(Packet sendpacket)
<< connect(thread, SIGNAL(packetSent(Packet)), this, SLOT(packetSentECHO(Packet)))
<< connect(thread, SIGNAL(destroyed()), this, SLOT(disconnected()));

bool leaveSessionOpen = settings.value("leaveSessionOpen").toString() == "true";
bool leaveSessionOpen = false;
#ifndef CONSOLE_BUILD
leaveSessionOpen = false;
leaveSessionOpen = settings.value("leaveSessionOpen").toString() == "true";
#endif
if(leaveSessionOpen){
#ifndef CONSOLE_BUILD
Expand Down

0 comments on commit 5e6c291

Please sign in to comment.