mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 23:45:14 +02:00
- better stability of menu navigation and threads
This commit is contained in:
@@ -142,7 +142,7 @@ bool BaseThread::shutdownAndWait() {
|
||||
|
||||
int maxWaitSeconds = 7;
|
||||
if(pThread->canShutdown() == false) {
|
||||
maxWaitSeconds = 3;
|
||||
maxWaitSeconds = 2;
|
||||
}
|
||||
|
||||
for( time_t elapsed = time(NULL); difftime(time(NULL),elapsed) <= maxWaitSeconds; ) {
|
||||
|
Reference in New Issue
Block a user