()
| 3387 | static PTY_MANAGER: std::sync::OnceLock<PtyManager> = std::sync::OnceLock::new(); |
| 3388 | |
| 3389 | fn get_pty_manager() -> &'static PtyManager { |
| 3390 | PTY_MANAGER.get_or_init(PtyManager::new) |
| 3391 | } |
| 3392 | |
| 3393 | async fn list_pty() -> Json<Vec<PtyInfo>> { |
| 3394 | let manager = get_pty_manager(); |
no outgoing calls
no test coverage detected