Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
ZhengPeiRu21
2022-04-22 09:13:49 -06:00
committed by GitHub
30 changed files with 128 additions and 82 deletions

View File

@@ -517,7 +517,7 @@ void ClearOnlineAccounts()
void ShutdownCLIThread(std::thread* cliThread)
{
if (cliThread != nullptr)
if (cliThread)
{
#ifdef _WIN32
// First try to cancel any I/O in the CLI thread
@@ -772,7 +772,7 @@ void AuctionListingRunnable()
void ShutdownAuctionListingThread(std::thread* thread)
{
if (thread != nullptr)
if (thread)
{
thread->join();
delete thread;