Fixed info/json websockets staying open forever
This commit is contained in:
parent
b8a93b231b
commit
80ef348025
1 changed files with 3 additions and 0 deletions
|
@ -905,6 +905,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