Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
##### Unreleased
**Bug Fixes**
- **EditorAnimatedPartsShipModified** : Fixed a memory leak ([issue #396](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/396)) where listeners were not properly cleaned up.
- **EditorAnimatedPartsShipModified** : This patch is now disabled if DMagic Orbital Science is installed because DMagic Orbital Science has a bug that causes a stack overflow crash if you ever call `DMSoilMoisture.OnStop`, which this patch does.

##### 1.41.1
**Bug Fixes**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// DMSoilMoisture.OnStop causes a stack overflow when called. The
// EditorAnimatedPartsShipModified patch calls OnStop on all IScalarModules on
// the ship. It ends up triggering the stack overflow which then crashes KSP.
//
// We disable the patch if DMagicOrbitalScience is installed to avoid this.
//
// See https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/409

@KSP_COMMUNITY_FIXES:NEEDS[DMagicOrbitalScience]
{
@EditorAnimatedPartsShipModified = false
}