Whether a store runs live after a reconfigure, the one rule every store with a reconfigure follows. More...
#include <stdbool.h>Go to the source code of this file.
Functions | |
| static bool | store_live_after_reconfigure (bool live, bool pinned) |
Whether a store runs live once a reconfigure has asked for live. | |
Whether a store runs live after a reconfigure, the one rule every store with a reconfigure follows.
Only a store's init decides whether it can ever run live. A store that init started with live false is pinned, and a reconfigure never turns it live, so a settings save in a build seeded for screenshots leaves the fixture on screen. A store that init started live is never pinned, and a reconfigure can stop it and start it again. The time store and the polling stores all ask here, so the rule cannot come out different from one store to the next.