Removed some dead code

This commit is contained in:
Subv
2014-07-06 19:05:13 -05:00
parent 9872162835
commit eeb2720401
-3
View File
@@ -237,7 +237,6 @@ extern int main(int argc, char** argv)
LoginDatabase.DirectPExecute("UPDATE realmlist SET flag = flag & ~%u, population = 0 WHERE id = '%u'", REALM_FLAG_INVALID, realmID);
// Start the freeze check callback cycle in 5 seconds (cycle itself is 1 sec)
std::thread* freezeDetectorThread = nullptr;
if (_maxCoreStuckTime = sConfigMgr->GetIntDefault("MaxCoreStuckTime", 0))
{
_freezeCheckTimer.expires_from_now(boost::posix_time::seconds(5));
@@ -337,8 +336,6 @@ extern int main(int argc, char** argv)
delete cliThread;
}
delete freezeDetectorThread;
OpenSSLCrypto::threadsCleanup();
// 0 - normal shutdown