mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 08:14:02 +03:00
Add new stats metric
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ func (c *connection) write(packet conntypes.Packet) error {
|
||||
func (c *connection) shutdown() {
|
||||
c.shutdownOnce.Do(func() {
|
||||
close(c.done)
|
||||
c.hub.channelBrokenSockets <- c.id
|
||||
c.hub.channelBrokenSockets <- c.id
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user