summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-05 14:58:33 -0500
committercitrons <citrons@mondecitronne.com>2025-06-07 16:02:18 -0500
commit627a244b85dcfb75b547ec9bcd96b7db59c4e17a (patch)
tree331d94d762a087d0de0a0dd0511386aa61e50183 /client
parent768fc1782ad4aefeb6ace455b3a74b42832e17e3 (diff)
fix deadlock
Diffstat (limited to 'client')
-rw-r--r--client/client/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/client/client.go b/client/client/client.go
index 2d47ded..7c9cf03 100644
--- a/client/client/client.go
+++ b/client/client/client.go
@@ -38,9 +38,9 @@ func New(address string) Client {
return Client {
Address: address,
stop: make(chan struct{}),
- message: make(chan Message),
+ message: make(chan Message, 1),
activeRequests: make(map[string]func(proto.Command)),
- debuggerAttach: make(chan Debugger),
+ debuggerAttach: make(chan Debugger, 1),
}
}