On Thu Feb 13 16:38:42 2025 +0000, Joe Souza wrote:
I think that technically it is needed because the command processing loop calls ResetEvent regardless of whether the event was initialized earlier when/if the Control-C handler was installed. I can rework the code such that this event is always initialized, near the top of the function, instead of conditionally when the Control-C handler is installed.
static variables are initialized to 0 by default