-exitLblNotStarted:
-
-modIter = modules.begin();
-while (modIter != modules.end())
- {
- std::string name = modIter->GetFileName();
- if (modIter->IsRunning())
- {
- printfd(__FILE__, "Passing module '%s' `cause it's still running\n", name.c_str());
- }
- else
- {
- printfd(__FILE__, "Unloading module '%s'\n", name.c_str());
- if (modIter->Unload())
- {
- WriteServLog("Error unloading module '%s': '%s'",
- modIter->GetPlugin()->GetVersion().c_str(),
- modIter->GetStrError().c_str());
- printfd(__FILE__, "Error unloading module '%s': '%s'\n", modIter->GetPlugin()->GetVersion().c_str(), modIter->GetStrError().c_str());
- }
- }
- ++modIter;
- }
-
-if (traffCnt)
- {
- traffCnt->Stop();