mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Revert "Add instrumentation to log finalizer being called. Suppressed for backup"
This reverts commit ea91a36483.
This commit is contained in:
@@ -149,8 +149,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
#region Fields
|
||||
|
||||
public bool SuppressFinalizerLogging = false;
|
||||
|
||||
public bool AllowedDrop;
|
||||
|
||||
public bool DIE_AT_EDGE;
|
||||
@@ -352,18 +350,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
#endregion Fields
|
||||
|
||||
~SceneObjectPart()
|
||||
{
|
||||
if (SuppressFinalizerLogging)
|
||||
return;
|
||||
|
||||
// ~SceneObjectPart()
|
||||
// {
|
||||
// Console.WriteLine(
|
||||
// "[SCENE OBJECT PART]: Destructor called for {0}, local id {1}, parent {2} {3}",
|
||||
// Name, LocalId, ParentGroup.Name, ParentGroup.LocalId);
|
||||
m_log.DebugFormat(
|
||||
"[SCENE OBJECT PART]: Destructor called for {0}, local id {1}, parent {2} {3}",
|
||||
Name, LocalId, ParentGroup.Name, ParentGroup.LocalId);
|
||||
}
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE OBJECT PART]: Destructor called for {0}, local id {1}, parent {2} {3}",
|
||||
// Name, LocalId, ParentGroup.Name, ParentGroup.LocalId);
|
||||
// }
|
||||
|
||||
#region Constructors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user