summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt
index f251f39340..188f75a0ea 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/service/endpoint/ServiceEndpoint.kt
@@ -47,6 +47,7 @@ class ServiceEndpoint(
val locationInfoCache = LocationInfoCache(this)
val relayListListener = RelayListListener(this)
val splitTunneling = SplitTunneling(SplitTunnelingPersistence(context), this)
+ val voucherRedeemer = VoucherRedeemer(this)
init {
dispatcher.registerHandler(Request.RegisterListener::class) { request ->
@@ -68,6 +69,7 @@ class ServiceEndpoint(
relayListListener.onDestroy()
settingsListener.onDestroy()
splitTunneling.onDestroy()
+ voucherRedeemer.onDestroy()
}
internal fun sendEvent(event: Event) {