Fixed info/json websockets staying open forever
This commit is contained in:
parent
998d7c6d03
commit
483b0007d1
1 changed files with 3 additions and 0 deletions
|
@ -835,6 +835,9 @@ namespace Mist {
|
||||||
if (newState == STRMSTAT_READY && (++metaCounter % 4) == 0){
|
if (newState == STRMSTAT_READY && (++metaCounter % 4) == 0){
|
||||||
updateMeta();
|
updateMeta();
|
||||||
}
|
}
|
||||||
|
if ((metaCounter % 40) == 0){
|
||||||
|
ws.sendFrame("", 0, 0x9);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue