add memory reset when resetting, add debug for share writes and add live share changi...
[mTask.git] / client / client.c
index a86de24..28c1609 100644 (file)
@@ -12,6 +12,7 @@
 #include "sds.h"
 #include "spec.h"
 #include "task.h"
+#include "mem.h"
 #include "interface.h"
 
 #define MSG_GET_TASK 't'
@@ -64,6 +65,7 @@ void read_message(void)
         break;
       case MSG_SHUTDOWN:
        debug("Shutdown received");
+       mem_reset();
        reset();
       case '\0':
         debug("Server closed connection");