mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 00:01:16 -03:00
Eliminate the job from block_t
This exists only to support the '--on-job-exit caller' feature. Just store the calling job ID directly in the parser's libdata.
This commit is contained in:
@@ -138,7 +138,6 @@ void parser_t::push_block_int(block_t *new_current) {
|
||||
new_current->skip = false;
|
||||
}
|
||||
|
||||
new_current->job = nullptr;
|
||||
new_current->loop_status = LOOP_NORMAL;
|
||||
|
||||
// Push it onto our stack. This acquires ownership because of unique_ptr.
|
||||
|
||||
Reference in New Issue
Block a user