callout: add a new module which is an alternative to the scheduler
[aversive.git] / modules / base / hostsim / hostsim.c
index bb77ad9..4c6ec3a 100644 (file)
@@ -314,6 +314,7 @@ int hostsim_exit(void)
 #ifdef CONFIG_MODULE_UART
        tcsetattr(0, TCSANOW, &oldterm);
 #endif
+       exit(0);
        return 0;
 }
 #endif /* HOST_VERSION */