Commit fc5f86f
committed
fix: shutdown -> close for UDP servers.
- Although shutdown works on Linux to remove a file descriptor
from the internal poll event loop, it isn't a portable approach.
Instead I have replaced the call to shutdown with a call to close.1 parent 7b8a11a commit fc5f86f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
120 | 122 | | |
121 | | - | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
0 commit comments