safing-portmaster/service/control
Alexandr Stelnykovych a3f746d2b1
Some checks failed
Go / Linter (push) Has been cancelled
Go / Test & Build (push) Has been cancelled
Release v2.X / Prep (push) Has been cancelled
Release v2.X / Installer linux (push) Has been cancelled
Release v2.X / Installer windows (push) Has been cancelled
fix: avoid error "config: request for unregistered option: spn/enable"
Access option 'spn/enable' only after full initialisation by replacing
the eagerly-initialised struct field (config.GetAsBool called at
construction time) with local variables declared at the call-site of
each function that needs the option.

Affected: service/control, service/interop/ivpn
2026-04-01 15:17:13 +03:00
..
api.go feat: pause and resume functionality improvements + UI 2025-11-05 18:36:52 +02:00
module.go fix: avoid error "config: request for unregistered option: spn/enable" 2026-04-01 15:17:13 +03:00
pause.go fix: avoid error "config: request for unregistered option: spn/enable" 2026-04-01 15:17:13 +03:00