Skip to content

Commit

Permalink
Fix(?) formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Oct 4, 2023
1 parent 318025e commit 4257d72
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions osu.Framework.Tests/Threading/ThreadedTaskSchedulerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,18 @@ public void QueueAndDisposeStressTest()
Thread disposeThread = new Thread(() =>
{
scheduler.Dispose();
}) { IsBackground = true };
})
{
IsBackground = true
};

Thread queueThread = new Thread(() =>
{
Task.Factory.StartNew(() => { }, CancellationToken.None, TaskCreationOptions.HideScheduler, scheduler);
}) { IsBackground = true };
})
{
IsBackground = true
};

disposeThread.Start();
queueThread.Start();
Expand Down

0 comments on commit 4257d72

Please sign in to comment.