Skip to content

Commit 4d7a30b

Browse files
committed
networkthreading: shutdown on level to avoid possible crash
1 parent 3f0bebe commit 4d7a30b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/modules/networkthreading.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CNetworkThreadingModule : public IModule
2525
public:
2626
virtual void InitDetour(bool bPreServer) OVERRIDE;
2727
virtual void ServerActivate(edict_t* pEdictList, int edictCount, int clientMax) OVERRIDE;
28-
virtual void Shutdown() OVERRIDE;
28+
virtual void LevelShutdown() OVERRIDE;
2929
virtual const char* Name() { return "networkthreading"; };
3030
virtual int Compatibility() { return LINUX32; };
3131
virtual bool IsEnabledByDefault() { return true; };
@@ -336,7 +336,7 @@ void CNetworkThreadingModule::ServerActivate(edict_t* pEdictList, int edictCount
336336
}
337337
}
338338

339-
void CNetworkThreadingModule::Shutdown()
339+
void CNetworkThreadingModule::LevelShutdown()
340340
{
341341
if (g_pNetworkThread == NULL)
342342
return;

0 commit comments

Comments
 (0)