chore: Suppress SwallowedException in stopWifiMonitoring()

The exception is intentionally swallowed - it's OK if the callback is already unregistered.
This commit is contained in:
inventory69
2026-01-26 23:25:13 +01:00
parent ebab347d4b
commit 5135c711a5

View File

@@ -186,6 +186,7 @@ class NetworkMonitor(private val context: Context) {
/**
* 🆕 v1.7.0: Stoppt nur WiFi-Monitoring, nicht den gesamten NetworkMonitor
*/
@Suppress("SwallowedException")
private fun stopWifiMonitoring() {
try {
connectivityManager.unregisterNetworkCallback(networkCallback)