diff options
| author | 2016-06-26 18:31:03 +0200 | |
|---|---|---|
| committer | 2016-06-26 18:31:03 +0200 | |
| commit | f91ea09c159af4d4e9e3cec33b397b44dc245d79 (patch) | |
| tree | 72a89686259657e83b020ca8b5b4b461604ed27c /src | |
| parent | a4df93a83cae154611377beb5254015dc95640b9 (diff) | |
| download | idevicerestore-f91ea09c159af4d4e9e3cec33b397b44dc245d79.tar.gz idevicerestore-f91ea09c159af4d4e9e3cec33b397b44dc245d79.tar.bz2  | |
restore: Explicitly stop FDR thread to suppress error messages at the end of the restore
Diffstat (limited to 'src')
| -rw-r--r-- | src/restore.c | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c index 5c4a30b..4418660 100644 --- a/src/restore.c +++ b/src/restore.c @@ -2072,6 +2072,14 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit  		message = NULL;  	} +	if (fdr_control_channel) { +		fdr_disconnect(fdr_control_channel); +		if (fdr_thread) { +			thread_join(fdr_thread); +		} +		fdr_control_channel = NULL; +	} +  	restore_client_free(client);  	return err;  }  | 
