mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
If initialize failed, set instance to null
This commit is contained in:
parent
e5b6d99bef
commit
d944c6c7ae
@ -74,6 +74,7 @@ namespace Facepunch.Steamworks
|
||||
{
|
||||
native.Dispose();
|
||||
native = null;
|
||||
Instance = null;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,7 @@ namespace Facepunch.Steamworks
|
||||
{
|
||||
native.Dispose();
|
||||
native = null;
|
||||
Instance = null;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user