Remove no longer necessary exception

This commit is contained in:
Dean Herbert 2021-06-28 16:11:55 +09:00
parent 0d2bc4fc5f
commit 842f033522

View File

@ -44,9 +44,6 @@ namespace osu.Game.Database
{ {
get get
{ {
if (IsDisposed)
throw new InvalidOperationException($"Attempted to access {nameof(Context)} on a disposed context factory");
if (context == null) if (context == null)
{ {
context = createContext(); context = createContext();