Fixed info/json websockets staying open forever

This commit is contained in:
Thulinma 2019-01-16 15:43:57 +01:00
parent b8a93b231b
commit 80ef348025

View file

@ -905,6 +905,9 @@ namespace Mist {
if (newState == STRMSTAT_READY && (++metaCounter % 4) == 0){
updateMeta();
}
if ((metaCounter % 40) == 0){
ws.sendFrame("", 0, 0x9);
}
}
}
return true;