summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-01-15 21:20:14 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2021-04-22 19:16:13 +0000
commit93f3f17df9ed2bfd0c67aaf796dfd79901d01241 (patch)
tree9875fc585e3ea43e7c638e131132e0c878138547 /android
parent140393401156ccddb3d0e4ab37c9cf47bc43255b (diff)
downloadmullvadvpn-93f3f17df9ed2bfd0c67aaf796dfd79901d01241.tar.xz
mullvadvpn-93f3f17df9ed2bfd0c67aaf796dfd79901d01241.zip
Instantiate `VoucherRedeemer` in endpoint
Diffstat (limited to 'android')
-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) {