Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix flaky test falls_back_to_registered_fallback_port_when_default_po… (#20504)

Owen Lin6014b6679ffb
diff --git a/codex-rs/login/src/server.rs b/codex-rs/login/src/server.rs
index 8e398ce890..9b6f835bb4 100644
--- a/codex-rs/login/src/server.rs
+++ b/codex-rs/login/src/server.rs
@@ -129,7 +129,7 @@ pub struct ShutdownHandle {
impl ShutdownHandle {
/// Signals the login loop to terminate.
pub fn shutdown(&self) {
- self.shutdown_notify.notify_waiters();
+ self.shutdown_notify.notify_one();
}
}