Skip to content

Commit

Permalink
Close vhosts with VHostStore#close (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
spuun authored Nov 15, 2024
1 parent dece14f commit 53173a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lavinmq/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module LavinMQ
def stop
return if @closed
@closed = true
@vhosts.each_value &.close
@vhosts.close
@replicator.clear
Fiber.yield
end
Expand Down

0 comments on commit 53173a5

Please sign in to comment.