Fix MistBuffer 100% CPU time after stream end.

This commit is contained in:
Thulinma 2014-01-28 16:41:29 +01:00
parent c9ac10ebe4
commit 99eb0ca6a4

View file

@ -66,6 +66,7 @@ namespace Buffer {
}
Util::sleep(10);//sleep to prevent high CPU usage
}
conn.close();
if (buffer_running){
thisStream->endStream();
}