From 3db5b9ad969beeb3a543e443bec12b6c953f4be4 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Thu, 20 Jun 2024 10:04:18 +0200 Subject: [PATCH] fix(windows): windows returns a different timeout_error on cancel --- src/thespian.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thespian.zig b/src/thespian.zig index 096f531..8bb0e35 100644 --- a/src/thespian.zig +++ b/src/thespian.zig @@ -821,7 +821,7 @@ const DelayedSender = struct { return; } defer self.deinit(); - if (try m_.match(.{ "exit", "timeout_error", 125, any })) + if (try m_.match(.{ "exit", "timeout_error", any, any })) return exit_normal(); try self.target.send_raw(m_); return exit_normal();