Address PR review: truncate error response logs and close http client

- Gate full error response body logging behind kDebugMode; truncate to
  500 chars in release builds to avoid log noise and data exposure
- Add RoutingService.close() and call from NavigationState.dispose()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Doug Borg
2026-02-08 11:17:29 -07:00
committed by Doug Borg
parent 71776ee8f0
commit 5abcc58a78
2 changed files with 19 additions and 2 deletions
+6
View File
@@ -376,4 +376,10 @@ class NavigationState extends ChangeNotifier {
notifyListeners();
}
}
@override
void dispose() {
_routingService.close();
super.dispose();
}
}