Implement ShouldUseSameServiceProvider properly.
Hopefully this fixes EFCore memory leaks.
This commit is contained in:
parent
828025d020
commit
6db52e795e
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ namespace Content.Server.Database
|
|||
|
||||
public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other)
|
||||
{
|
||||
return false;
|
||||
return other is ExtensionInfo;
|
||||
}
|
||||
|
||||
public override void PopulateDebugInfo(IDictionary<string, string> debugInfo)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue