mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1882972 [Linux] Don't use POLLOUT on disconnected socket r=emilio
Backport from 852f23c8f4
Depends on D203430
Differential Revision: https://phabricator.services.mozilla.com/D203431
This commit is contained in:
parent
730a513447
commit
2f2061d413
5
third_party/wayland-proxy/wayland-proxy.cpp
vendored
5
third_party/wayland-proxy/wayland-proxy.cpp
vendored
@ -326,11 +326,6 @@ struct pollfd* ProxiedConnection::LoadPollFd(struct pollfd* aPfds) {
|
||||
}
|
||||
|
||||
bool ProxiedConnection::ConnectToCompositor() {
|
||||
if (!(mCompositorFlags & POLLOUT)) {
|
||||
// Try again later
|
||||
return true;
|
||||
}
|
||||
|
||||
struct sockaddr_un addr = {};
|
||||
addr.sun_family = AF_UNIX;
|
||||
strcpy(addr.sun_path, mWaylandDisplay);
|
||||
|
Loading…
Reference in New Issue
Block a user