From d04ce021b928644cef3b27e025ffc8dae413cd71 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 20 Oct 2019 03:35:34 +0200 Subject: Ignore device add events after device entered restore mode --- src/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index dbd2a41..e8e4d44 100644 --- a/src/common.h +++ b/src/common.h @@ -109,6 +109,7 @@ struct idevicerestore_client_t { void* idevice_e_ctx; mutex_t device_event_mutex; cond_t device_event_cond; + int ignore_device_add_events; }; extern struct idevicerestore_mode_t idevicerestore_modes[]; -- cgit v1.1-32-gdbae