Commit MetaInfo

Revision83f5e15c7bd3476c172fd8601796c15a4908effc (tree)
Time2014-05-20 15:08:00
AuthorFace
CommiterFace

Log Message

JumpDriveMFD: clearing tables on renderer closure

Change Summary

Incremental Difference

diff -r 01add2fd107c -r 83f5e15c7bd3 Orbitersdk/samples/JumpDriveMFD/JumpDriveMFD.cpp
--- a/Orbitersdk/samples/JumpDriveMFD/JumpDriveMFD.cpp Sat May 17 00:00:09 2014 +0200
+++ b/Orbitersdk/samples/JumpDriveMFD/JumpDriveMFD.cpp Tue May 20 08:08:00 2014 +0200
@@ -184,6 +184,8 @@
184184 for(std::map< VESSEL*, std::map< int, JumpDriveMFDData* > >::iterator i=g_JumpDriveMFDs.begin();i!=g_JumpDriveMFDs.end();i++)
185185 for(std::map< int, JumpDriveMFDData* >::iterator j=i->second.begin();j!=i->second.end();j++)
186186 delete j->second;
187+ g_JumpDrives.clear();
188+ g_JumpDriveMFDs.clear();
187189 }
188190
189191 // MFD class implementation
Show on old repository browser