![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cAppState.h>
Public Member Functions | |
cAppExitCatcher () | |
~cAppExitCatcher () | |
Protected Member Functions | |
virtual void | ExitCatch () |
![]() | |
cSingletonStatic (cAppExitCatcher *pObject) noexcept | |
virtual | ~cSingletonStatic () noexcept |
Additional Inherited Members | |
![]() | |
static bool | isSingleCreated () noexcept |
static cAppExitCatcher * | get_SingleU () noexcept |
static cAppExitCatcher * | get_Single () |
static TYPE2 *__stdcall | get_SingleCast () |
static cAppExitCatcher & | I () noexcept |
![]() | |
static cAppExitCatcher * | sm_pThe |
pointer to the one and only object of this TYPE. ASSUME automatically init to = nullptr. More... | |
misbehaving libraries can call exit(). This does NOT work with abort() calls. Try to catch and block this or at least log it.
Gray::cAppExitCatcher::cAppExitCatcher | ( | ) |
Gray::cAppExitCatcher::~cAppExitCatcher | ( | ) |
|
protectedvirtual |
Someone (library) called "exit()" that should not have? Does not catch "abort()". The SQL driver calls "exit()" sometimes. bastards. but this is also called legit at the application termination.