steamworks-rs
steamworks-rs copied to clipboard
Need help for close game.
When I init app and client, it run game. I only want to get game install path but after that game is still running due to init process, how I could close game or stop init ?
@Avocadocs Did you ever find a solution for this? I am having similar issues.
@TheOftedal No sadly I didn't get it working, keep me updated if you do :)
Could you clarify the issue and perhaps provide some example code. Dropping the initialized Client
should shutdown the Steamworks SDK cleanly.
Could you provide example of how to drop the client ?
Rust dropping occurs when a variable goes out of scope. It can be at the end of an if statement, a function etc. You can explicity drop it by moving the client out of the current scope with drop(my_client)