src/driver/streamts.cpp try to fix send err loop

This commit is contained in:
Jacek Jendrzej
2016-04-11 12:48:09 +02:00
parent b526c2480c
commit ed02b4c81e

View File

@@ -596,7 +596,7 @@ void CStreamManager::run()
printf("CStreamManager::run(): POLLHUP, fd %d\n", pfd[i].fd);
RemoveClient(pfd[i].fd);
if (streams.empty()) {
poll_timeout = -1;
poll_timeout = 2000;
g_RCInput->postMsg(NeutrinoMessages::EVT_STREAM_STOP, 0);
}
}