aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-demo-pinecone/monolith/monolith.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-demo-pinecone/monolith/monolith.go')
-rw-r--r--cmd/dendrite-demo-pinecone/monolith/monolith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-pinecone/monolith/monolith.go b/cmd/dendrite-demo-pinecone/monolith/monolith.go
index abeea19d..41af568a 100644
--- a/cmd/dendrite-demo-pinecone/monolith/monolith.go
+++ b/cmd/dendrite-demo-pinecone/monolith/monolith.go
@@ -221,8 +221,8 @@ func (p *P2PMonolith) closeAllResources() {
p.httpServerMu.Lock()
if p.httpServer != nil {
_ = p.httpServer.Shutdown(context.Background())
- p.httpServerMu.Unlock()
}
+ p.httpServerMu.Unlock()
select {
case p.stopHandlingEvents <- true: