mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2026-01-07 16:54:27 +01:00
@@ -111,7 +111,6 @@ class CGMRepository @Inject constructor(
|
||||
}
|
||||
|
||||
fun release() {
|
||||
_data.value = CGMServiceData()
|
||||
_stopEvent.tryEmit(DisconnectAndStopEvent())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,7 +106,6 @@ class CSCRepository @Inject constructor(
|
||||
}
|
||||
|
||||
fun release() {
|
||||
_data.value = CSCServiceData()
|
||||
_stopEvent.tryEmit(DisconnectAndStopEvent())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,6 @@ class HRSRepository @Inject constructor(
|
||||
}
|
||||
|
||||
fun release() {
|
||||
_data.value = HRSServiceData()
|
||||
_stopEvent.tryEmit(DisconnectAndStopEvent())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,6 @@ class HTSRepository @Inject constructor(
|
||||
|
||||
fun release() {
|
||||
logger = null
|
||||
_data.value = HTSServiceData()
|
||||
_stopEvent.tryEmit(DisconnectAndStopEvent())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,6 @@ class RSCSRepository @Inject constructor(
|
||||
|
||||
fun release() {
|
||||
logger = null
|
||||
_data.value = RSCSServiceData()
|
||||
_stopEvent.tryEmit(DisconnectAndStopEvent())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,7 +125,6 @@ class UARTRepository @Inject internal constructor(
|
||||
}
|
||||
|
||||
fun release() {
|
||||
_data.value = UARTServiceData()
|
||||
_stopEvent.tryEmit(DisconnectAndStopEvent())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user