Skip to content

Crash when using Sigar in C# #155

@chaeseongsik

Description

@chaeseongsik
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Hyperic.Sigar.Tests
{
    [TestClass]
    public class SigarTests
    {
        [TestMethod]
        public void CpuTest()
        {
            Sigar sigar = new Sigar();
            while (true)
            {
                sigar.Cpu();
                Thread.Sleep(1000);

            }
        }
    }
}

Crash occurs even after executing the above code for a while.

4

2
3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions