File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2981,7 +2981,6 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
2981
2981
PUAssocArray[$! ]=$PUFILE
2982
2982
2983
2983
.zinit-wait-for-update-jobs plugins
2984
-
2985
2984
}
2986
2985
}
2987
2986
# Shouldn't happen
@@ -3200,7 +3199,8 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
3200
3199
3201
3200
integer pager_pid=$!
3202
3201
{ sleep 20 && kill -9 $pager_pid 2> /dev/null 1>&2 ; } & !
3203
- { wait $pager_pid ; } > /dev/null 2>&1
3202
+ integer kill_pager_pid=$!
3203
+ { wait $pager_pid ; kill -9 $kill_pager_pid ; } > /dev/null 2>&1
3204
3204
3205
3205
local -a log
3206
3206
{ log=( ${(@ f)" $( < $local_dir /.zinit_lastupd) " } ); } 2> /dev/null
@@ -3562,6 +3562,9 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
3562
3562
command rm -f ${(v)PUAssocArray}
3563
3563
counter=0
3564
3564
PUAssocArray=()
3565
+
3566
+ # Clear zombie jobs.
3567
+ wait
3565
3568
} elif (( counter == 1 && ! OPTS[opt_- q,-- quiet] )) {
3566
3569
+zi-log " {obj}Spawning the next{num}" \
3567
3570
" ${OPTS[value]} {obj} concurrent update jobs" \
You can’t perform that action at this time.
0 commit comments