mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
Fix to avoid calling signal_block off of hte main thread
This commit is contained in:
@@ -404,7 +404,8 @@ void history_t::load_old_if_needed(void)
|
||||
int fd;
|
||||
int ok=0;
|
||||
|
||||
signal_block();
|
||||
// PCA not sure why signals were blocked here
|
||||
//signal_block();
|
||||
wcstring filename = history_filename(name, L"");
|
||||
|
||||
if( ! filename.empty() )
|
||||
@@ -427,7 +428,7 @@ void history_t::load_old_if_needed(void)
|
||||
close( fd );
|
||||
}
|
||||
}
|
||||
signal_unblock();
|
||||
//signal_unblock();
|
||||
}
|
||||
|
||||
void history_search_t::skip_matches(const wcstring_list_t &skips) {
|
||||
|
||||
Reference in New Issue
Block a user