Shutdown Procedure


I am trying to shutdown Bolt when player return to mainmenu and get a clean start if he create or join rooms again. I use the following code to check if Bolt is running and then shutdown. Seems IsRunning always return true while Shutdown throws exception saying bolt is not running. Is there any document on what's the proper shutdown procedure is? Thanks.

if (BoltNetwork.isRunning)
}catch(Exception e)

Sign In or Register to comment.