CTRL+C and CTRL+Break are different?
See the question and my original answer on StackOverflowSee the official documentation here: CTRL+C and CTRL+BREAK Signals
I quote:
CTRL+BREAK is always treated as a signal, but an application can change the default CTRL+C behavior in two ways that prevent the handler functions from being called