mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Save changes after generating cached statistics.
This commit is contained in:
@@ -1120,6 +1120,8 @@ namespace RomRepoMgr.Core.Workers
|
|||||||
|
|
||||||
ctx.RomSetStats.Add(stats);
|
ctx.RomSetStats.Add(stats);
|
||||||
|
|
||||||
|
ctx.SaveChanges();
|
||||||
|
|
||||||
WorkFinished?.Invoke(this, System.EventArgs.Empty);
|
WorkFinished?.Invoke(this, System.EventArgs.Empty);
|
||||||
|
|
||||||
RomSetAdded?.Invoke(this, new RomSetEventArgs
|
RomSetAdded?.Invoke(this, new RomSetEventArgs
|
||||||
|
|||||||
Reference in New Issue
Block a user