fix(instance): re-add dnsmonitor to serviceGroupInterception module

This commit is contained in:
Alexandr Stelnykovych
2025-11-11 18:20:10 +02:00
parent 83fb71b4bc
commit 14be84d2d0

View File

@@ -317,11 +317,7 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx
// Grouped interception modules that can be paused/resumed together.
instance.serviceGroupInterception = mgr.NewGroupModule("Interception Group",
instance.interception,
// TODO: The dnsmonitor is currently not part of this group, as it has inconsistent issue when stopping.
// Fix chars-issue of this module and re-add it here.
//instance.dnsmonitor,
instance.dnsmonitor,
instance.compat)
// Add all modules to instance group.
@@ -357,7 +353,6 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx
// instance.dnsmonitor,
// instance.compat
instance.serviceGroupInterception,
instance.dnsmonitor, // TODO: Remove when re-added to serviceGroupInterception group.
instance.status,
instance.broadcasts,