khatru: use a channelmutex so we can fail to lock on addListener() if there's a disconnect.

This commit is contained in:
fiatjaf
2026-03-28 10:47:25 -03:00
parent 3acfbbca0a
commit 172e7890b9
4 changed files with 14 additions and 5 deletions
+1
View File
@@ -40,6 +40,7 @@ require (
)
require (
fiatjaf.com/lib v0.3.6
github.com/dgraph-io/ristretto/v2 v2.3.0
github.com/go-git/go-git/v5 v5.16.3
github.com/sivukhin/godjot v1.0.6