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

This commit is contained in:
Dark-Alex-17 committed 2024-12-17 14:36:49 -07:00
1 parent 3ecaf04eb4
commit 368d5d3db7
3 files changed
+7 -1

No files matched your search

+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,