m_logs always need to be private static readonly otherwise we

get close errors.
This commit is contained in:
Sean Dague
2008-05-09 18:57:19 +00:00
parent 3900a165bc
commit 835e44b987
4 changed files with 4 additions and 4 deletions

View File

@@ -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();