Revert "remove pane contents cleanup to repair restore"

This reverts commit 0a6f90788f.
This commit is contained in:
Bruno Sutic 2017-05-30 06:14:21 +02:00
parent 573897cd71
commit ba59a2b642
No known key found for this signature in database
GPG Key ID: CAFA7B1B2914ED81
2 changed files with 4 additions and 0 deletions

View File

@ -258,6 +258,9 @@ restore_all_panes() {
restore_pane "$line" restore_pane "$line"
fi fi
done < $(last_resurrect_file) done < $(last_resurrect_file)
if is_restoring_pane_contents; then
pane_content_files_cleanup
fi
} }
restore_pane_layout_for_each_window() { restore_pane_layout_for_each_window() {

View File

@ -269,6 +269,7 @@ save_all() {
mkdir -p "$(pane_contents_dir)" mkdir -p "$(pane_contents_dir)"
dump_pane_contents dump_pane_contents
pane_contents_create_archive pane_contents_create_archive
pane_content_files_cleanup
fi fi
if save_bash_history_option_on; then if save_bash_history_option_on; then
dump_bash_history dump_bash_history