1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +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())
{
}
}); });
} }
} }