From 319d1b81fbacdee1535fb8307697dd9f710bf34f Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Tue, 2 Oct 2018 19:53:52 -0500 Subject: [PATCH] Add note about PROCESS_EXIT still being used --- src/proc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proc.cpp b/src/proc.cpp index 541158ee3..0eb6c85ee 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -515,6 +515,8 @@ static int process_clean_after_marking(bool allow_interactive) { // TODO: The generic process-exit event is useless and unused. // Remove this in future. + // Update: This event is used for cleaning up the psub temporary files and folders. + // Removing it breaks the psub tests as a result. proc_fire_event(L"PROCESS_EXIT", EVENT_EXIT, p->pid, (WIFSIGNALED(s) ? -1 : WEXITSTATUS(s)));