mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-13 12:51:15 -03:00
Cleanup common.h
Remove a bunch of headers, simplify lots of code, migrate it into .cpp files. Debug build time improves by ~3 seconds on my Mac.
This commit is contained in:
@@ -442,7 +442,7 @@ int main(int argc, char **argv) {
|
||||
proc_fire_event(L"PROCESS_EXIT", EVENT_EXIT, getpid(), exit_status);
|
||||
|
||||
// Trigger any exit handlers.
|
||||
wcstring_list_t event_args = {to_string<int>(exit_status)};
|
||||
wcstring_list_t event_args = {to_string(exit_status)};
|
||||
event_fire_generic(L"fish_exit", &event_args);
|
||||
|
||||
restore_term_mode();
|
||||
|
||||
Reference in New Issue
Block a user