Added cNetwork initialization to program start.
Otherwise the server could crash because MSVC doesn't implement magic statics yet.
This commit is contained in:
parent
fa17fb9b80
commit
5f660f7677
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user