Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
views: fix feature flag settings.STOP_DAEMON_WHEN_VIEW_FINISHES
This feature flag was added in 5fc9841 ("settings: defaults: add feature flag for `LonaView.is_daemon`") but never worked, when set globally. When the view runtime checks if a view should be stopped, if daemonized, it uses `settings.STOP_DAEMON_WHEN_VIEW_FINISHES` and `View.STOP_DAEMON_WHEN_VIEW_FINISHES` as local override. Since `View.STOP_DAEMON_WHEN_VIEW_FINISHES` was set to `True` in the base class, this override won every time. This patch removes `View.STOP_DAEMON_WHEN_VIEW_FINISHES`, so it becomes an optional override, for `settings.STOP_DAEMON_WHEN_VIEW_FINISHES`. Signed-off-by: Florian Scherf <[email protected]>
- Loading branch information