aboutsummaryrefslogtreecommitdiff
path: root/src/app/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/mod.rs')
-rw-r--r--src/app/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/mod.rs b/src/app/mod.rs
index 90ee33b8..131b9729 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -124,6 +124,8 @@ pub struct App {
pub(crate) pending_api_worktree_creates: HashMap<std::path::PathBuf, u64>,
pub(crate) pending_api_worktree_removes: HashMap<String, u64>,
pub(crate) pending_api_worktree_remove_paths: HashMap<std::path::PathBuf, u64>,
+ pub(crate) pending_worktree_remove_runtime_exits: HashMap<crate::layout::PaneId, usize>,
+ pub(crate) pending_worktree_remove_runtime_restores: HashMap<crate::layout::PaneId, u64>,
pub(crate) next_api_worktree_operation_id: u64,
pub(crate) next_auto_update_check: Option<Instant>,
pub(crate) next_agent_manifest_update_check: Option<Instant>,
@@ -580,6 +582,8 @@ impl App {
pending_api_worktree_creates: HashMap::new(),
pending_api_worktree_removes: HashMap::new(),
pending_api_worktree_remove_paths: HashMap::new(),
+ pending_worktree_remove_runtime_exits: HashMap::new(),
+ pending_worktree_remove_runtime_restores: HashMap::new(),
next_api_worktree_operation_id: 1,
next_auto_update_check: version_check_enabled
.then_some(Instant::now() + AUTO_UPDATE_CHECK_INTERVAL),