Skip to content

Commit ec889b0

Browse files
committed
voicechat: comment this out to see if its the cause of #27
1 parent b865ccb commit ec889b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/modules/voicechat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,15 +483,15 @@ static void hook_SV_BroadcastVoiceData(IClient* pClient, int nBytes, char* data,
483483
* Why? because else we would inflate the debug registry(& it never shrinks) as the GC won't be fast enouth to clean all the created VoiceData.
484484
*/
485485

486-
if (voiceDataGCReference > 0)
486+
/*if (voiceDataGCReference > 0)
487487
{
488488
Util::ReferencePush(g_Lua, voiceDataGCReference);
489489
} else {
490490
g_Lua->PushCFunction(VoiceData__gc);
491491
}
492492
493493
g_Lua->Push(-2);
494-
g_Lua->CallFunctionProtected(1, 0, true);
494+
g_Lua->CallFunctionProtected(1, 0, true);*/
495495
g_Lua->Pop(1); // The voice data is still there, so now finally remove it.
496496

497497
if (bHandled)

0 commit comments

Comments
 (0)