fix: Cancel all requests when switching Servarr tabs to both improve performance and fix issue #15

This commit is contained in:
2024-12-17 14:36:49 -07:00
parent 3ecaf04eb4
commit 368d5d3db7
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ pub mod sonarr;
pub struct App<'a> {
navigation_stack: Vec<Route>,
network_tx: Option<Sender<NetworkEvent>>,
cancellation_token: CancellationToken,
pub cancellation_token: CancellationToken,
pub is_first_render: bool,
pub server_tabs: TabState,
pub error: HorizontallyScrollableText,