mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 10:19:55 +02:00
Relaxed network grace + fixed annoying warnings
This commit is contained in:
@@ -159,11 +159,11 @@ namespace Shared {
|
||||
if (Thread::threadList.empty() == false) {
|
||||
std::vector<Thread *>::iterator iterFind = std::find(Thread::threadList.begin(), Thread::threadList.end(), this);
|
||||
if (iterFind == Thread::threadList.end()) {
|
||||
if (this != cleanupThread.get()) {
|
||||
/*if (this != cleanupThread.get()) {
|
||||
char szBuf[8096] = "";
|
||||
snprintf(szBuf, 8095, "In [%s::%s Line: %d] iterFind == Thread::threadList.end() Thread::threadList.size() = %ld", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__, Thread::threadList.size());
|
||||
throw megaglest_runtime_error(szBuf);
|
||||
}
|
||||
}*/
|
||||
} else {
|
||||
Thread::threadList.erase(iterFind);
|
||||
}
|
||||
|
Reference in New Issue
Block a user