Skip to content

Commit

Permalink
Avoid shuting down opus voip codec multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Oct 9, 2016
1 parent 755b2f3 commit 978afd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/client/cl_main.c
Expand Up @@ -1417,6 +1417,7 @@ void CL_Disconnect( qboolean showMainMenu ) {
for (i = 0; i < MAX_CLIENTS; i++) {
opus_decoder_destroy(clc.opusDecoder[i]);
}
clc.voipCodecInitialized = qfalse;
}
Cmd_RemoveCommand ("voip");
#endif
Expand Down

0 comments on commit 978afd7

Please sign in to comment.