import our profiler related changes

This commit is contained in:
DarthArgus
2017-01-10 11:07:50 -06:00
parent e9e026b5a4
commit fdaf856317
8 changed files with 135 additions and 78 deletions
@@ -1509,6 +1509,10 @@ void PlanetServer::setDone(char const *reasonfmt, ...)
va_end(ap);
m_done = true;
}
#ifdef ENABLE_PROFILING
std::exit(0);
#endif
}
// ----------------------------------------------------------------------