mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
If initialize failed, set instance to null
This commit is contained in:
parent
e5b6d99bef
commit
d944c6c7ae
@ -74,6 +74,7 @@ public Client( uint appId )
|
||||
{
|
||||
native.Dispose();
|
||||
native = null;
|
||||
Instance = null;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,7 @@ public Server( uint appId, ServerInit init )
|
||||
{
|
||||
native.Dispose();
|
||||
native = null;
|
||||
Instance = null;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user