mirror of
https://github.com/clearlinux/micro-config-drive.git
synced 2026-09-07 06:04:32 +00:00
finish async task before datasource
this change is to avoid blob data in threads
This commit is contained in:
+4
-1
@@ -325,10 +325,13 @@ int main(int argc, char *argv[]) {
|
||||
if (process_user_data || (process_user_data_once && first_boot)) {
|
||||
datasource_handler->process_userdata();
|
||||
}
|
||||
datasource_handler->finish();
|
||||
}
|
||||
|
||||
async_task_finish();
|
||||
|
||||
if (datasource_handler) {
|
||||
datasource_handler->finish();
|
||||
}
|
||||
|
||||
exit(result_code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user