mirror of
https://github.com/tstack/lnav
synced 2024-11-01 21:40:34 +00:00
[lnav] fix handling of closed files
This commit is contained in:
parent
a13ad5b7c2
commit
bfa2c7f38c
@ -572,8 +572,8 @@ void rebuild_indexes()
|
||||
lnav_data.ld_text_source.remove(lf);
|
||||
lnav_data.ld_log_source.remove_file(lf);
|
||||
lnav_data.ld_active_files.close_file(lf);
|
||||
}
|
||||
else {
|
||||
file_iter = lnav_data.ld_active_files.fc_files.begin();
|
||||
} else {
|
||||
++file_iter;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user