1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-10-01 15:46:17 -04:00

Fixes game crash on exit (#707) (#713)

This commit is contained in:
Brendan Porter 2020-09-06 00:17:33 -05:00 committed by GitHub
parent 32a58fd5d3
commit 439b2e7472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,6 +122,7 @@ func (g *GameServer) Start() error {
c, err := g.listener.Accept()
if err != nil {
log.Printf("Unable to accept connection: %s\n", err)
return
}
go g.handleConnection(c)