Make sure standalone modes can be launched when connected on USB without client
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user