Skip to content

Commit

Permalink
Fix crash when switching channels
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 17, 2016
1 parent acfd67a commit 40819d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions enigma2/lib/base/filepush.cpp
Expand Up @@ -340,6 +340,10 @@ void eFilePushThreadRecorder::thread()
if (bytes < 0)
{
bytes = 0;
/* Check m_stop after interrupted syscall. */
if (m_stop) {
break;
}
if (errno == EINTR || errno == EBUSY || errno == EAGAIN)
continue;
if (errno == EOVERFLOW)
Expand Down

0 comments on commit 40819d1

Please sign in to comment.