m_logs always need to be private static readonly otherwise we
get close errors.0.6.0-stable
parent
3900a165bc
commit
835e44b987
|
@ -38,7 +38,7 @@ namespace OpenSim.Region.DataSnapshot
|
|||
{
|
||||
private Scene m_scene = null;
|
||||
private DataSnapshotManager m_externalData = null;
|
||||
private ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public DataRequestHandler(Scene scene, DataSnapshotManager externalData)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace OpenSim.Region.DataSnapshot
|
|||
{
|
||||
#region Class members
|
||||
private List<Scene> m_scenes = new List<Scene>();
|
||||
private ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private bool m_enabled = false;
|
||||
private bool m_configLoaded = false;
|
||||
internal object m_syncInit = new object();
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace OpenSim.Region.DataSnapshot
|
|||
private Scene m_scene = null;
|
||||
private DataSnapshotManager m_parent = null;
|
||||
//private Dictionary<int, Land> m_landIndexed = new Dictionary<int, Land>();
|
||||
private ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
#region Dead code
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace OpenSim.Region.DataSnapshot
|
|||
{
|
||||
private Scene m_scene = null;
|
||||
private DataSnapshotManager m_parent = null;
|
||||
private ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
public void Initialize(Scene scene, DataSnapshotManager parent)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue