mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:43:09 -03:00
Fix for removing too many event handlers (that's why "Goodbye" never got printed")
This commit is contained in:
@@ -214,7 +214,7 @@ static bool function_remove_ignore_autoload(const wcstring &name)
|
||||
|
||||
if (erased) {
|
||||
event_t ev(EVENT_ANY);
|
||||
ev.function_name=name.c_str();
|
||||
ev.function_name=name;
|
||||
event_remove( &ev );
|
||||
}
|
||||
return erased;
|
||||
|
||||
Reference in New Issue
Block a user