Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
event/ServerSocket: do not close all listeners before rethrowing
If binding one address fails, we don't need to close all listeners. For fatal errors, this will be done automatically and implicitly; and for non-fatal errors (e.g. binding to the default port failed, but there is an XDG listener), this closes the good listeners which are supposed to be used. Closes #2157
- Loading branch information