Fixed statistics being attempted before stream initialization.
This commit is contained in:
parent
1206b76b4a
commit
a08e0de7fc
1 changed files with 3 additions and 0 deletions
|
@ -626,6 +626,9 @@ namespace Mist {
|
|||
}
|
||||
|
||||
void Output::stats(){
|
||||
if (!isInitialized){
|
||||
return;
|
||||
}
|
||||
if (statsPage.getData()){
|
||||
unsigned long long int now = Util::epoch();
|
||||
if (now != lastStats){
|
||||
|
|
Loading…
Add table
Reference in a new issue