mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
test this theory and see if this keeps the prod server (more threads) from dumping java...if so i'll make this value configurable
This commit is contained in:
@@ -1172,7 +1172,7 @@ void JavaLibrary::initializeJavaThread()
|
||||
|
||||
// clean up
|
||||
ms_jvm->DestroyJavaVM();
|
||||
Os::sleep(2000); // give java a chance to end it's miserable existence
|
||||
Os::sleep(10000); // give java a chance to end it's miserable existence
|
||||
ms_jvm = nullptr;
|
||||
|
||||
if (ConfigServerGame::getTrapScriptCrashes())
|
||||
@@ -6545,4 +6545,4 @@ void JavaLibrary::throwInternalScriptError(const char * message)
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user