fix listen addrs race
Copy the listen address list before returning it. If you're wondering about the syntax: https://github.com/go101/go101/wiki/How-to-perfectly-clone-a-slice%3F
Showing
Please register or sign in to comment
Copy the listen address list before returning it. If you're wondering about the syntax: https://github.com/go101/go101/wiki/How-to-perfectly-clone-a-slice%3F