mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs OpenSim/Region/Framework/Scenes/Scene.cs
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
using OpenSim.Framework.Servers;
|
||||
|
||||
namespace OpenSim.Tests.Common
|
||||
{
|
||||
@@ -40,7 +41,14 @@ namespace OpenSim.Tests.Common
|
||||
// Disable logging for each test so that one where logging is enabled doesn't cause all subsequent tests
|
||||
// to have logging on if it failed with an exception.
|
||||
TestHelpers.DisableLogging();
|
||||
|
||||
// This is an unfortunate bit of clean up we have to do because MainServer manages things through static
|
||||
// variables and the VM is not restarted between tests.
|
||||
if (MainServer.Instance != null)
|
||||
{
|
||||
MainServer.RemoveHttpServer(MainServer.Instance.Port);
|
||||
// MainServer.Instance = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user