Add a destructor for SGEventMgr. We don't own the pointer, so we

can't free it.  Just zero it out.
This commit is contained in:
andy
2004-05-03 18:39:25 +00:00
parent 86e83faef3
commit de1a5f3034

View File

@@ -63,6 +63,7 @@ class SGEventMgr : public SGSubsystem
{
public:
SGEventMgr() { _freezeProp = 0; }
~SGEventMgr() { _freezeProp = 0; }
virtual void init() {}
virtual void update(double delta_time_sec);