diff --git a/Source/Tracking/Transaction.Test.cs b/Source/Tracking/Transaction.Test.cs index 139cd75..89fd4ca 100644 --- a/Source/Tracking/Transaction.Test.cs +++ b/Source/Tracking/Transaction.Test.cs @@ -167,7 +167,10 @@ namespace Nuclex.Support.Tracking { TestTransaction test = new TestTransaction(); // We can only do a positive test here without slowing down the unit test - test.End(); + ThreadPool.QueueUserWorkItem( + (WaitCallback)delegate(object state) { test.End(); } + ); + test.Wait(); }