mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 06:41:14 -03:00
Switch a job's process list from a linked list to a vector of pointers
Clarifies and simplifies the memory management around process handling.
This commit is contained in:
@@ -525,7 +525,7 @@ wcstring parser_t::current_line() {
|
||||
|
||||
void parser_t::job_add(job_t *job) {
|
||||
assert(job != NULL);
|
||||
assert(job->first_process != NULL);
|
||||
assert(! job->processes.empty());
|
||||
this->my_job_list.push_front(job);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user