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:
70:055ebf51f6ad
Parent:
69:90fb53584459
Child:
77:a60fd4a86397
--- a/main.cpp	Mon Mar 03 22:04:21 2014 +0000
+++ b/main.cpp	Mon Mar 03 22:27:08 2014 +0000
@@ -50,6 +50,7 @@
  // close down the application and exit
  void closedown(int code) {
      if (endpoint != NULL) {
+         error_handler->releaseMutexes();
          error_handler->log("Closing down Endpoint...");
          delete endpoint;
      }