mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-27 22:11:39 +00:00
bugfix: improve logging of the shutdown event.
This commit is contained in:
committed by
alexiscatnip
parent
2daf3aa554
commit
e32e5d9434
@@ -816,7 +816,11 @@ namespace OpenMetaverse
|
||||
/// <param name="message">Shutdown message</param>
|
||||
public void Shutdown(DisconnectType type, string message)
|
||||
{
|
||||
Logger.Log("NetworkManager shutdown initiated", Helpers.LogLevel.Info, Client);
|
||||
Logger.Log(
|
||||
"NetworkManager shutdown initiated. Reason: "
|
||||
+ message,
|
||||
Helpers.LogLevel.Info,
|
||||
Client);
|
||||
|
||||
// Send a CloseCircuit packet to simulators if we are initiating the disconnect
|
||||
bool sendCloseCircuit = (type == DisconnectType.ClientInitiated || type == DisconnectType.NetworkTimeout);
|
||||
|
||||
Reference in New Issue
Block a user