summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-09-25 23:56:53 +0300
committerOxore <oxore@protonmail.com>2022-09-25 23:56:53 +0300
commit3acfbd6f634a1d48045fb6b2a2c1031efebe80e4 (patch)
treedf2c074dffcc00c9c7cb1c2fc0b36f18a499237b
parentae7fd23ec342bd627dcc998667b89249e25aaf4c (diff)
Disable NoAck mode when connection closed
-rw-r--r--emulator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator.cpp b/emulator.cpp
index 9d09626..6557120 100644
--- a/emulator.cpp
+++ b/emulator.cpp
@@ -401,6 +401,7 @@ int emulator(M68KDebuggingControl& m68k_debug)
clock_nanosleep(CLOCK_MONOTONIC, 0, &kOneMillisecond, nullptr);
}
close(conn_fd);
+ g_no_ack_mode = false;
}
close(socket_fd);
return 0;