summaryrefslogtreecommitdiffhomepage
path: root/pkg/gohacks/gohacks_test.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-08-13 07:39:19 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-13 07:42:22 -0700
commiteb0f24c6c48ea5301c5136b53333e189d0dc4c58 (patch)
treea574d801d336579725f7d8e63b73a2729ab223a4 /pkg/gohacks/gohacks_test.go
parentddcf884e9d396930095ab1fde51b14201e8cf718 (diff)
Free multicastMemberships on UDP endpoint close
tcpip.Endpoint.Close is documented to free all resources associated with an endpoint so we don't need to create an empty map to clear the multicast memberships. PiperOrigin-RevId: 390609826
Diffstat (limited to 'pkg/gohacks/gohacks_test.go')
0 files changed, 0 insertions, 0 deletions