diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/preflight.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preflight.c b/src/preflight.c index 88e6700..56c658a 100644 --- a/src/preflight.c +++ b/src/preflight.c | |||
| @@ -271,6 +271,8 @@ retry: | |||
| 271 | while (cbdata.np && cbdata.is_device_connected == 1) { | 271 | while (cbdata.np && cbdata.is_device_connected == 1) { |
| 272 | sleep(1); | 272 | sleep(1); |
| 273 | } | 273 | } |
| 274 | device_set_preflight_cb_data(info->id, NULL); | ||
| 275 | |||
| 274 | usbmuxd_log(LL_INFO, "%s: Finished waiting for notification from device %s, is_device_connected %d", __func__, _dev->udid, cbdata.is_device_connected); | 276 | usbmuxd_log(LL_INFO, "%s: Finished waiting for notification from device %s, is_device_connected %d", __func__, _dev->udid, cbdata.is_device_connected); |
| 275 | 277 | ||
| 276 | if (cbdata.np) { | 278 | if (cbdata.np) { |
