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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user