Forgot to cleanup zombie processes

This commit is contained in:
Scoopta 2024-01-21 00:23:20 -08:00
parent 0ca83d416b
commit 7d84a6c9f3

View File

@ -493,6 +493,7 @@ static GtkWidget* create_label(char* mode, char* text, char* search_text, char*
if(pre_display_exec) {
fclose(fp_labeltext);
while(waitpid(-1, NULL, WNOHANG) > 0);
} else {
pclose(fp_labeltext);
}