From a08e0de7fc6555f3301051ad6d252426e05cded9 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 20 Jun 2014 11:34:45 +0200 Subject: [PATCH] Fixed statistics being attempted before stream initialization. --- src/output/output.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output/output.cpp b/src/output/output.cpp index 170375e5..681f21ef 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -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){