fix(rpc): stop IPC handle in AuthServerHandle::stop() (#22467)

This commit is contained in:
VolodymyrBg
2026-02-22 08:56:52 +02:00
committed by GitHub
parent b09b097a0b
commit 03fbb6cafe

View File

@@ -337,8 +337,15 @@ impl AuthServerHandle {
/// Tell the server to stop without waiting for the server to stop.
pub fn stop(self) -> Result<(), AlreadyStoppedError> {
let Some(handle) = self.handle else { return Ok(()) };
handle.stop()
if let Some(handle) = self.handle {
handle.stop()?;
}
if let Some(ipc_handle) = self.ipc_handle {
ipc_handle.stop()?;
}
Ok(())
}
/// Returns the url to the http server