fiorix / go-diameter

Diameter stack and Base Protocol (RFC 6733) for the Go programming language
Other
252 stars 143 forks source link

close correct connection in cleanupConn #85

Closed dirkm closed 6 years ago

dirkm commented 6 years ago

I think this patch fixes a minor issue when releasing a connection. With the patch, we never call close a nil-object.

Note: this has been found from manual inspection, we did not reproduce the failure.

fiorix commented 6 years ago

Thanks!