fix(windows): windows returns a different timeout_error on cancel

This commit is contained in:
CJ van den Berg 2024-06-20 10:04:18 +02:00
parent f716b924e2
commit 3db5b9ad96

View file

@ -821,7 +821,7 @@ const DelayedSender = struct {
return; return;
} }
defer self.deinit(); defer self.deinit();
if (try m_.match(.{ "exit", "timeout_error", 125, any })) if (try m_.match(.{ "exit", "timeout_error", any, any }))
return exit_normal(); return exit_normal();
try self.target.send_raw(m_); try self.target.send_raw(m_);
return exit_normal(); return exit_normal();