What is the difference between BoltNetwork.Shutdown() and BoltNetwork.ShutdownImmediate() ?
Options
Fyxe
✭
in Photon Bolt
From the documentation here, it appears that immediate would skip some cleanup steps, however I couldn't find any further information to verify.
0
Best Answer
-
Hello @Fyxe ,
When using `BoltNetwork.Shutdown()`, Bolt will perform some additional steps in order to shutdown, like communicating with the remote endpoints that it's about to quit, by using the `ShutdownImmedate()` version, Bolt will just cleanup all local memory and reset its states. In this last case, the remote endpoint may not be aware of the disconnection until a timeout occurs.5
Answers
-
Hello @Fyxe ,
When using `BoltNetwork.Shutdown()`, Bolt will perform some additional steps in order to shutdown, like communicating with the remote endpoints that it's about to quit, by using the `ShutdownImmedate()` version, Bolt will just cleanup all local memory and reset its states. In this last case, the remote endpoint may not be aware of the disconnection until a timeout occurs.5 -
Wonderful, thank you for the response!0