mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

Revision:
3:ce348020b691
Parent:
2:1a7a292555d1
Child:
4:d9603064630c
--- a/source/ConnectorEndpoint.cpp	Sun Feb 21 15:44:34 2016 +0000
+++ b/source/ConnectorEndpoint.cpp	Sun Feb 21 15:50:46 2016 +0000
@@ -230,9 +230,9 @@
 void Endpoint::object_unregistered(M2MSecurity */*server_object*/)  {
 	// ready to exit
 	this->logger()->log("Endpoint has been deregistered.. Ready to exit...");
-
-	// stop
-	//minar::Scheduler::stop();
+	
+	// EXIT
+	exit(0);
 }
 
 // registration updated