diff options
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index 54cbf740..c15551d0 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -61,6 +61,7 @@ class RuntimeEnvironment { public: RuntimeEnvironment() : + shutdownInProgress(false), log((Logger *)0), prng((CMWC4096 *)0), demarc((Demarc *)0), @@ -82,14 +83,16 @@ public: Identity identity; + volatile bool shutdownInProgress; + // Order matters a bit here. These are constructed in this order // and then deleted in the opposite order on Node exit. Logger *log; // may be null CMWC4096 *prng; - Demarc *demarc; Multicaster *multicaster; Switch *sw; + Demarc *demarc; Topology *topology; SysEnv *sysEnv; NodeConfig *nc; |
