1
0
Fork 0
forked from suyu/suyu

gdbstub: small logic bug fix with defer_start

This commit is contained in:
Gauvain "GovanifY" Roussel-Tarbouriech 2020-02-24 14:30:24 +01:00 committed by FearlessTobi
parent 38036eb1c8
commit eae2ed6b07

View file

@ -1166,8 +1166,10 @@ static void RemoveBreakpoint() {
} }
void HandlePacket() { void HandlePacket() {
if (!IsConnected() && defer_start) { if (!IsConnected()) {
if (defer_start) {
ToggleServer(true); ToggleServer(true);
}
return; return;
} }