Avoid Muninn OBS startup stale resets
This commit is contained in:
parent
1118171733
commit
6666ed81a2
1 changed files with 4 additions and 0 deletions
|
|
@ -617,6 +617,10 @@ public:
|
|||
stale_reported_.store(false);
|
||||
return false;
|
||||
}
|
||||
if (!has_forwarded_media()) {
|
||||
stale_reported_.store(false);
|
||||
return false;
|
||||
}
|
||||
bool expected = false;
|
||||
return stale_reported_.compare_exchange_strong(expected, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue