Fix potential segfault in doSync
This commit is contained in:
parent
e8f1ceff3a
commit
94bb2aa0f1
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ namespace Mist{
|
|||
/// If this happens, the extra calls to the function return instantly.
|
||||
void Output::doSync(bool force){
|
||||
static bool recursing = false;
|
||||
if (!statsPage.getData()){return;}
|
||||
if (recursing){return;}
|
||||
recursing = true;
|
||||
IPC::statExchange tmpEx(statsPage.getData());
|
||||
|
|
Loading…
Add table
Reference in a new issue