remove unused engine listener

This commit is contained in:
Pascal Fischer
2023-12-06 16:32:39 +01:00
parent c88e8139c7
commit 148a537c19
2 changed files with 0 additions and 10 deletions

View File

@@ -1,7 +0,0 @@
package listener
// EngineReadyListener is a callback interface for mobile system
type EngineReadyListener interface {
// Notify invoke when engine is ready
Notify()
}

View File

@@ -5,8 +5,6 @@ import (
"strings"
"sync"
log "github.com/sirupsen/logrus"
"github.com/netbirdio/netbird/client/internal/listener"
"github.com/netbirdio/netbird/route"
)
@@ -64,7 +62,6 @@ func (n *notifier) notify() {
}
go func(l listener.NetworkChangeListener) {
log.Debugf("notifying route listener with route ranges: %s", strings.Join(n.routeRangers, ","))
l.OnNetworkChanged(strings.Join(n.routeRangers, ","))
}(n.listener)
}