|
|
@@ -249,7 +249,7 @@ snfLOGmgr::snfLOGmgr() : |
|
|
|
|
|
|
|
snfLOGmgr::~snfLOGmgr() { // When we go away we must |
|
|
|
stop(); // stop if we haven't already. |
|
|
|
Status.store(PersistentFileName); // and store our persistent data. |
|
|
|
if(Configured) Status.store(PersistentFileName); // If safe, store our persistent data. |
|
|
|
} |
|
|
|
|
|
|
|
void snfLOGmgr::linkNETmgr(snfNETmgr& N) { myNETmgr = &N; } // Link in my NETmgr |
|
|
@@ -884,7 +884,8 @@ void snfLOGmgr::myTask() { |
|
|
|
Sleeper WaitATic(MillisecondsInASecond); // One second sleeper. |
|
|
|
while(!TimeToDie) { // Do this until it's time to die. |
|
|
|
if(Configured) { // If we are configured do our work. |
|
|
|
do_StatusReports(); // Status reports are chained. |
|
|
|
do_StatusReports(); // Make our status reports (chained). |
|
|
|
Status.store(PersistentFileName); // Store our persistent data.
|
|
|
|
} |
|
|
|
WaitATic(); |
|
|
|
} |