disunity-hq / disunity

A fullstack toolchain for modding Unity games
MIT License
20 stars 4 forks source link

Refactor db hooks to use async functions #27

Open scottbot95 opened 5 years ago

scottbot95 commented 5 years ago

Some db hooks modify the database (ie by calling SaveChanges()). Currently this is being done synchronously, but to prevent threads locking up, this should be done asynchronously.

Once scottbot95/EFCoreHooks#1 is resolved, this should be easily doable.