![]() |
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 () |
Protected Member Functions inherited from Gray::cSingletonStatic< cAppExitCatcher > | |
| cSingletonStatic (cAppExitCatcher *pObject) noexcept | |
| virtual | ~cSingletonStatic () noexcept |
Additional Inherited Members | |
Static Public Member Functions inherited from Gray::cSingletonStatic< cAppExitCatcher > | |
| static bool | isSingleCreated () noexcept |
| static cAppExitCatcher * | get_SingleU () noexcept |
| static cAppExitCatcher * | get_Single () |
| static TYPE2 *__stdcall | get_SingleCast () |
| static cAppExitCatcher & | I () noexcept |
Static Protected Attributes inherited from Gray::cSingletonStatic< cAppExitCatcher > | |
| 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.