summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicedebug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c
index 67ef938..8bedc6f 100644
--- a/tools/idevicedebug.c
+++ b/tools/idevicedebug.c
@@ -511,6 +511,11 @@ int main(int argc, char *argv[])
dres = debugserver_client_receive_response(debugserver_client, &response, NULL);
}
+ /* ignore quit_flag after this point */
+ if (debugserver_client_set_receive_params(debugserver_client, NULL, 5000) != DEBUGSERVER_E_SUCCESS) {
+ fprintf(stderr, "Error in debugserver_client_set_receive_params\n");
+ goto cleanup;
+ }
/* kill process after we finished */
log_debug("Killing process...");