diff options
author | Ben Wagner | 2020-02-11 18:09:35 -0500 |
---|---|---|
committer | Nikias Bassen | 2022-03-29 12:15:09 +0200 |
commit | aae9e0dd28b61d19ce82b8003d0564c708481186 (patch) | |
tree | 91c55106f61906b69db8dba870aadf1d7242dbff /tools | |
parent | 310cf5e8173d82cfbafd35cb18755ea71a8b1447 (diff) | |
download | libimobiledevice-aae9e0dd28b61d19ce82b8003d0564c708481186.tar.gz libimobiledevice-aae9e0dd28b61d19ce82b8003d0564c708481186.tar.bz2 |
Reset receive params before killing
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicedebug.c | 5 |
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..."); |