1
0
Fork 0

Added cNetwork initialization to program start.

Otherwise the server could crash because MSVC doesn't implement magic statics yet.
This commit is contained in:
Mattes D 2015-03-18 22:07:57 +01:00
parent fa17fb9b80
commit 5f660f7677
1 changed files with 4 additions and 0 deletions

View File

@ -282,8 +282,12 @@ int main( int argc, char **argv)
}
} // for i - argv[]
// Initialize logging subsystem:
cLogger::InitiateMultithreading();
// Initialize LibEvent:
cNetworkSingleton::Get();
#if !defined(ANDROID_NDK)
try
#endif