not sure why we create two tasstatemanagers when engaging tastudio... i guess one is used in case theres existing data (even if theres no existing data). anyway, this fixes the leak
This commit is contained in:
parent
46c15f94a9
commit
faa3d52500
|
@ -167,6 +167,7 @@ namespace BizHawk.Client.Common
|
|||
|
||||
bl.GetLump(BinaryStateLump.StateHistory, false, delegate(BinaryReader br, long length)
|
||||
{
|
||||
TasStateManager?.Dispose();
|
||||
TasStateManager = ZwinderStateManager.Create(br, TasStateManager.Settings, IsReserved);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue