mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-24 04:28:00 +03:00
Fixed client dispose NRE
This commit is contained in:
parent
9f4f555e76
commit
029cad5514
@ -99,8 +99,11 @@ namespace Facepunch.Steamworks
|
|||||||
|
|
||||||
public override void Dispose()
|
public override void Dispose()
|
||||||
{
|
{
|
||||||
Voice.Dispose();
|
if ( Voice != null )
|
||||||
Voice = null;
|
{
|
||||||
|
Voice.Dispose();
|
||||||
|
Voice = null;
|
||||||
|
}
|
||||||
|
|
||||||
base.Dispose();
|
base.Dispose();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user