X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=3cf7edff082d9f6f880ccdd19c18fa698490cbce;hb=63271b068064caea5f148f6bd6728adabef5cf87;hp=78fb159a3026a2d515d05d0467eae27bd4e33938;hpb=75e89298319041ac2cc96102c8345dc175e5e0db;p=petitboot 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)