Refactor. Move MainServer init to a place with greener grass
parent
7e6980b20d
commit
15a11e9745
|
@ -77,7 +77,6 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager
|
|||
{
|
||||
m_openSim = openSim;
|
||||
m_httpServer = openSim.HttpServer;
|
||||
MainServer.Instance = m_httpServer;
|
||||
|
||||
InitialiseCommsManager(openSim);
|
||||
}
|
||||
|
|
|
@ -111,6 +111,8 @@ namespace OpenSim.Region.ClientStack
|
|||
m_log.Info("[REGION]: Starting HTTP server");
|
||||
m_httpServer.Start();
|
||||
|
||||
MainServer.Instance = m_httpServer;
|
||||
|
||||
base.StartupSpecific();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue