mirror of
https://bitbucket.org/anguist/ntpa
synced 2025-10-05 18:41:13 +00:00
Improved thread safety
This commit is contained in:
@ -23,7 +23,9 @@
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Ntp.Process;
|
||||
using Ntp.Analyzer.Log;
|
||||
using Ntp.Monitor.Server;
|
||||
@ -59,7 +61,7 @@ namespace Ntp.Analyzer.Process
|
||||
|
||||
foreach (Listener l in i.Listeners)
|
||||
l.Close ();
|
||||
|
||||
|
||||
LogFactory.Cleanup ();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user