mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 00:28:10 -05:00
fix memory leak issue related to AddDbContext not working as expected
This commit is contained in:
@ -41,7 +41,7 @@ namespace StatsWeb
|
||||
}
|
||||
|
||||
var result = new ResourceQueryHelperResult<MessageResponse>();
|
||||
using var context = _contextFactory.CreateContext(enableTracking: false);
|
||||
await using var context = _contextFactory.CreateContext(enableTracking: false);
|
||||
|
||||
if (serverCache == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user