aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-16 16:56:49 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-16 16:56:49 +0800
commit51f0aa7544fbc5b93e65b05181a2d7755b12aa78 (patch)
tree808fa38934595ac244196fb98301b0eb51de5d74 /main.go
parentMX: mx_new_session solely creates a session; handle() is separate (diff)
downloadmaild-51f0aa7544fbc5b93e65b05181a2d7755b12aa78.tar.gz
maild-51f0aa7544fbc5b93e65b05181a2d7755b12aa78.tar.zst
maild-51f0aa7544fbc5b93e65b05181a2d7755b12aa78.zip
main: Use select{} for the deadlockHEADmaster
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 51540f9..f59437f 100644
--- a/main.go
+++ b/main.go
@@ -19,6 +19,5 @@ func main() {
go serve_mx()
- deadlock := make(chan struct{})
- deadlock <- struct{}{}
+ select {}
}