Skip to content

Commit

Permalink
Fixed: Crash when pressing 'Configure' related to ModUserConfigService
Browse files Browse the repository at this point in the history
Race Condition in Initialization between ModConfigService & ModUserConfigService
  • Loading branch information
Sewer56 committed Jun 14, 2022
1 parent 56663cd commit 05b3fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Reloaded.Mod.Loader.IO/Services/ConfigServiceBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ private void GetItems(bool executeImmediately, CancellationToken cancellationTok
}
else
{
_context.Post(() =>
_context.Send((x) =>
{
Collections.ModifyObservableCollection(Items, itemTuples);
});
}, null);
}
}
catch (Exception)
Expand Down

0 comments on commit 05b3fb3

Please sign in to comment.