private SteamContext() { // we made the context aware it can't run in 64 bit. WrappedContext = CarbyneSteamContext.SteamContext.GetInstance(); if (!Is32Bit()) { Steam4NETProxy = new Steam4NETProxy(); } }
public void Shutdown() { lock (CoreInstanceMutex) { if (!Is32Bit()) { Steam4NETProxy.Dispose(); Steam4NETProxy = null; } else { WrappedContext.Shutdown(); } CoreInstance = null; } }