refactor reconnect logic

try to merge as much code between the first-time
connect and reconnects under `resume_session()`
without changing current behavior.
This commit is contained in:
caszuu
2026-02-27 16:03:18 +01:00
committed by xytovl
parent e81393fe87
commit a8504545e9
2 changed files with 107 additions and 66 deletions
+3
View File
@@ -216,6 +216,9 @@ private:
void run_worker(std::stop_token stop);
void reconnect(std::stop_token stop);
void pause_session();
void resume_session();
void poll_session_loss();
// xrt_system implementation