feat: finished exec command

This commit is contained in:
Andrew Rioux
2025-02-24 20:20:34 -05:00
parent 5eb66c8d5d
commit 43866e1759
4 changed files with 52 additions and 3 deletions

View File

@@ -315,9 +315,14 @@ where
};
let (ref mut s_guard, ref mut d_guard, ref mut i_guard) = *guard;
if close_attempts > 0 {
let socket = s_guard.get_mut::<Socket>(tcp_handle);
socket.close();
if socket.is_open() {
socket.close();
} else {
break;
}
}
let timestamp = Instant::now();