mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 06:38:01 +03:00
Fixed NRE in request
This commit is contained in:
parent
755b238e1d
commit
9d8141475f
@ -195,7 +195,8 @@ namespace Facepunch.Steamworks
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
client.OnUpdate -= Update;
|
||||
if ( client.IsValid )
|
||||
client.OnUpdate -= Update;
|
||||
|
||||
//
|
||||
// Cancel the query if it's still running
|
||||
|
Loading…
x
Reference in New Issue
Block a user