mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Refactor. Move MainServer init to a place with greener grass
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user