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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user