diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-29 13:57:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-29 13:57:37 -0700 |
| commit | 95f421024a3b3c94a71c5328e23bf5456e7f14ba (patch) | |
| tree | b5d908204e87944823a436eaec000b75be609717 /node/RuntimeEnvironment.hpp | |
| parent | f65b48d447e414e3cdc1e6787cf92a795a11956b (diff) | |
| download | infinitytier-95f421024a3b3c94a71c5328e23bf5456e7f14ba.tar.gz infinitytier-95f421024a3b3c94a71c5328e23bf5456e7f14ba.zip | |
Code cleanup, and fix some unsafe pointer handling in Network.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index 1061c452..360524b9 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -69,7 +69,6 @@ public: homePath(), identity(), initialized(false), - shutdownInProgress(false), tcpTunnelingEnabled(false), timeOfLastResynchronize(0), timeOfLastPacketReceived(0), @@ -79,9 +78,9 @@ public: log((Logger *)0), prng((CMWC4096 *)0), http((HttpClient *)0), - antiRec((AntiRecursion *)0), - mc((Multicaster *)0), sw((Switch *)0), + mc((Multicaster *)0), + antiRec((AntiRecursion *)0), topology((Topology *)0), nc((NodeConfig *)0), node((Node *)0), @@ -101,9 +100,6 @@ public: // Are we initialized? volatile bool initialized; - // Indicates that we are shutting down -- this is hacky, want to factor out - volatile bool shutdownInProgress; - // Are we in outgoing TCP failover mode? volatile bool tcpTunnelingEnabled; @@ -130,9 +126,9 @@ public: Logger *log; // null if logging is disabled CMWC4096 *prng; HttpClient *http; - AntiRecursion *antiRec; - Multicaster *mc; Switch *sw; + Multicaster *mc; + AntiRecursion *antiRec; Topology *topology; NodeConfig *nc; Node *node; |
