Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential memory leaks identified by KSPCommunityFixes #97

Open
Gordon-Dry opened this issue Sep 26, 2022 · 0 comments
Open

Potential memory leaks identified by KSPCommunityFixes #97

Gordon-Dry opened this issue Sep 26, 2022 · 0 comments

Comments

@Gordon-Dry
Copy link

Latest version of KSPCommunityFixes reports on some potential memory leaks on scene changes. A quick look in the log after scene change to Flight Scene shows 5 potential locations in SystemHeat where a leak might exist:

[LOG 21:14:59.011] [KSPCF:MemoryLeaks] A destroyed SystemHeat:SystemHeatUI instance is owning a onVesselChange GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
[LOG 21:14:59.025] [KSPCF:MemoryLeaks] A destroyed SystemHeat:SystemHeatUI instance is owning a onGUIApplicationLauncherUnreadifying GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
[LOG 21:14:59.025] [KSPCF:MemoryLeaks] A destroyed SystemHeat:ReactorToolbar instance is owning a onGUIApplicationLauncherUnreadifying GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
[LOG 21:14:59.025] [KSPCF:MemoryLeaks] A destroyed SystemHeat:SystemHeatUI instance is owning a onGUIApplicationLauncherDestroyed GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
[LOG 21:14:59.025] [KSPCF:MemoryLeaks] A destroyed SystemHeat:ReactorToolbar instance is owning a onGUIApplicationLauncherDestroyed GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant