Ejemplo n.º 1
0
        public void TearDown()
        {
            Assert.IsFalse(thread.Exited);

            thread.Exit();

            WaitForOrAssert(() => thread.Exited, "Audio thread did not exit in time");
        }
Ejemplo n.º 2
0
        public void TearDown()
        {
            Assert.IsFalse(thread.Exited);

            thread.Exit();

            Thread.Sleep(500);

            Assert.IsTrue(thread.Exited);
        }