Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
33:339eb862a4c4
Parent:
32:56a11a9a35a2
Child:
47:fa96ddc36f04
--- a/Light.cpp	Fri Feb 28 05:19:52 2014 +0000
+++ b/Light.cpp	Fri Feb 28 18:08:03 2014 +0000
@@ -45,9 +45,10 @@
  
  // destructor
  Light::~Light() {   
-    if (this->m_resources != NULL) delete this->m_resources;
-    if (this->m_dimmer_action != NULL) delete this->m_dimmer_action;
-    if (this->m_switch_action != NULL) delete this->m_switch_action;
+    //if (this->m_resources != NULL) delete this->m_resources;
+    //if (this->m_dimmer_action != NULL) delete this->m_dimmer_action;
+    //if (this->m_switch_action != NULL) delete this->m_switch_action;
+    //if (this->m_pl != NULL) delete this->m_pl;
  }
  
  // get the resource factory