1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Add test coverage of calling BlockAllOperations a second time after timeout

This commit is contained in:
Dean Herbert 2022-01-25 14:00:58 +09:00
parent 9ad4d66e4d
commit 8116806db3

View File

@ -95,6 +95,11 @@ namespace osu.Game.Tests.Database
}); });
stopThreadedUsage.Set(); stopThreadedUsage.Set();
// Ensure we can block a second time after the usage has ended.
using (realm.BlockAllOperations())
{
}
}); });
} }
} }