gdbstub: small logic bug fix with defer_start

master
Gauvain "GovanifY" Roussel-Tarbouriech 2020-02-24 14:30:24 +07:00
parent d8bb37fc2f
commit 8fedd5c240
1 changed files with 4 additions and 2 deletions

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