X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=3cf7edff082d9f6f880ccdd19c18fa698490cbce;hp=78fb159a3026a2d515d05d0467eae27bd4e33938;hb=d94bb8c48f42678a5f1cf0041429b82aa1938540;hpb=75e89298319041ac2cc96102c8345dc175e5e0db diff --git a/discover/device-handler.c b/discover/device-handler.c index 78fb159..3cf7edf 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -358,6 +358,9 @@ void device_handler_reinit(struct device_handler *handler) handler->pending_boot_is_default = false; } + /* Cancel any remaining async jobs */ + process_stop_async_all(); + /* free unresolved boot options */ list_for_each_entry_safe(&handler->unresolved_boot_options, opt, tmp, list)