1
0
Fork 0

Reset: Add some missing prop clears on unbind

This commit is contained in:
James Turner 2020-08-12 16:38:10 +01:00
parent 977bfb06bf
commit 095be63be4
2 changed files with 4 additions and 1 deletions

View file

@ -141,6 +141,8 @@ void TimeManager::unbind()
_frameRate.clear();
_frameLatency.clear();
_frameRateWorst.clear();
_frameWait.clear();
_maxFrameRate.clear();
_sceneryLoaded.clear();
_modelHz.clear();

View file

@ -206,6 +206,7 @@ void FGLight::unbind () {
for (int i = 0; i < 4; ++i)
_chromeProps[i] = SGPropertyNode_ptr();
_sunAngleRad = SGPropertyNode_ptr();
_moonAngleRad.reset();
_humidity = SGPropertyNode_ptr();
}