Destroying coin Ogre objects correctly, so there is no crash at the end. master
Destroying coin Ogre objects correctly, so there is no crash at the end.

file:a/Coin.cpp -> file:b/Coin.cpp
--- a/Coin.cpp
+++ b/Coin.cpp
@@ -12,8 +12,6 @@
 Coin::~Coin()
 {
   delete _coinBody;
-  delete _coinNode;
-  delete _coinEntity;
 }
 
 void Coin::create(Ogre::Vector3 startPos)
@@ -58,7 +56,8 @@
 
 void Coin::remove()
 { 
-  _coinNode->getParentSceneNode()->removeChild(_coinNode);
+  _sceneMngr->destroySceneNode(_coinNode);
+  _sceneMngr->destroyEntity(_coinEntity);
   _world->removeCollisionObject(_coinBody);
 }