mirror of
https://github.com/open-goal/jak-project
synced 2026-07-10 23:22:17 -04:00
[repl] Always reset runtime before disconnecting (#448)
This commit is contained in:
@@ -94,7 +94,10 @@ ReplStatus Compiler::execute_repl(bool auto_listen) {
|
||||
}
|
||||
}
|
||||
|
||||
m_listener.disconnect();
|
||||
if (m_listener.is_connected()) {
|
||||
m_listener.send_reset(false); // reset the target
|
||||
m_listener.disconnect();
|
||||
}
|
||||
|
||||
if (m_want_exit) {
|
||||
return ReplStatus::WANT_EXIT;
|
||||
|
||||
Reference in New Issue
Block a user