summaryrefslogtreecommitdiff
path: root/zen/shutdown.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-04-12 08:05:57 -0400
committerB Stack <bgstack15@gmail.com>2019-04-12 08:05:57 -0400
commit3a66f25c648c798d472f0de3b40c36a64fe75252 (patch)
tree603b0cb89ed5e4bb43725079c38c26a84c9f1425 /zen/shutdown.cpp
parentMerge branch '10.10' into 'master' (diff)
downloadFreeFileSync-3a66f25c648c798d472f0de3b40c36a64fe75252.tar.gz
FreeFileSync-3a66f25c648c798d472f0de3b40c36a64fe75252.tar.bz2
FreeFileSync-3a66f25c648c798d472f0de3b40c36a64fe75252.zip
10.11
Diffstat (limited to 'zen/shutdown.cpp')
-rw-r--r--zen/shutdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/shutdown.cpp b/zen/shutdown.cpp
index cd37d57c..aecd4121 100644
--- a/zen/shutdown.cpp
+++ b/zen/shutdown.cpp
@@ -36,7 +36,7 @@ void zen::terminateProcess(int exitCode)
std::exit(exitCode); //[[noreturn]]; "Stack is not unwound: destructors of variables with automatic storage duration are not called." => perfect
//don't use std::abort() => crashes process with "EXC_CRASH (SIGABRT)" on macOS
for (;;) //why still here?? => crash deliberately!
- *reinterpret_cast<volatile int*>(0) = 0; //crude but at least we'll get crash dumps if it happens
+ *reinterpret_cast<volatile int*>(0) = 0; //crude but at least we'll get crash dumps if it ever happens
}
bgstack15