Make sure standalone modes can be launched when connected on USB without client

This commit is contained in:
Philippe Teuwen committed 2019-06-02 23:20:02 +02:00
1 parent b7016e0bed
commit d7614684f8
6 files changed
+72 -35

No files matched your search

+4
View File
@@ -211,6 +211,10 @@ main_loop(char *script_cmds_file, char *script_cmd) {
}
} // end while
clearCommandBuffer();
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
msleep(100); // Make sure command is sent before killing client
if (sf)
fclose(sf);