mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-11 01:13:02 -04:00
import our profiler related changes
This commit is contained in:
@@ -1509,6 +1509,10 @@ void PlanetServer::setDone(char const *reasonfmt, ...)
|
||||
va_end(ap);
|
||||
m_done = true;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_PROFILING
|
||||
std::exit(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user