mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-28 13:11:15 -03:00
Replace a bunch of ASSERT_IS_MAIN_THREAD
Switch these to a new function parser.assert_can_execute(), in preparation for allowing execution off of the main thread.
This commit is contained in:
@@ -187,7 +187,6 @@ static void guess_emoji_width(const environment_t &vars) {
|
||||
|
||||
/// React to modifying the given variable.
|
||||
void env_dispatch_var_change(const wcstring &key, env_stack_t &vars) {
|
||||
ASSERT_IS_MAIN_THREAD();
|
||||
// Do nothing if not yet fully initialized.
|
||||
if (!s_var_dispatch_table) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user