Revert "Clear repositories correctly"

This reverts commit fde67ff547.
This commit is contained in:
Sylwester Zielinski
2023-04-26 12:44:28 +02:00
parent c5b808cd4f
commit 1eee7962f5
6 changed files with 0 additions and 6 deletions

View File

@@ -111,7 +111,6 @@ class CGMRepository @Inject constructor(
}
fun release() {
_data.value = CGMServiceData()
_stopEvent.tryEmit(DisconnectAndStopEvent())
}
}

View File

@@ -106,7 +106,6 @@ class CSCRepository @Inject constructor(
}
fun release() {
_data.value = CSCServiceData()
_stopEvent.tryEmit(DisconnectAndStopEvent())
}
}

View File

@@ -102,7 +102,6 @@ class HRSRepository @Inject constructor(
}
fun release() {
_data.value = HRSServiceData()
_stopEvent.tryEmit(DisconnectAndStopEvent())
}
}

View File

@@ -100,7 +100,6 @@ class HTSRepository @Inject constructor(
fun release() {
logger = null
_data.value = HTSServiceData()
_stopEvent.tryEmit(DisconnectAndStopEvent())
}
}

View File

@@ -95,7 +95,6 @@ class RSCSRepository @Inject constructor(
fun release() {
logger = null
_data.value = RSCSServiceData()
_stopEvent.tryEmit(DisconnectAndStopEvent())
}
}

View File

@@ -125,7 +125,6 @@ class UARTRepository @Inject internal constructor(
}
fun release() {
_data.value = UARTServiceData()
_stopEvent.tryEmit(DisconnectAndStopEvent())
}
}