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

Origin commit data
------------------
Commit: ed02b4c81e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-11 (Mon, 11 Apr 2016)
This commit is contained in:
Jacek Jendrzej
2016-04-11 12:48:09 +02:00
parent 2062685a97
commit adb7c0e670

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);
}
}