Poll for stdin close in C4StdInProc

install-platforms
Julius Michaelis 2017-12-05 04:13:28 +01:00
parent 956108b415
commit 1ca46c80ad
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public:
#else
void GetFDs(std::vector<struct pollfd> & checkfds) override
{
pollfd pfd = { 0, POLLIN, 0 };
pollfd pfd = { 0, POLLIN | POLLERR | POLLHUP, 0 };
checkfds.push_back(pfd);
}
#endif