diff --git a/apps-aarch64.checksum b/apps-aarch64.checksum index e85db3a..c9f3d32 100644 --- a/apps-aarch64.checksum +++ b/apps-aarch64.checksum @@ -1,4 +1,4 @@ -5ffc7c3b88bd966b8f0310ac7299ff05df37cfb9 target-aarch64/acap/axstorage_example_0_0_0_aarch64.eap +0018f1c3b46545bebbef794b68900c254a7785e7 target-aarch64/acap/axstorage_example_0_0_0_aarch64.eap 10227865e8dadfeeda0e4a3c1a0d88ed18bc019a target-aarch64/acap/bounding_box_example_0_0_0_aarch64.eap 27016805520639a6a1029661f1225f1f6df180fd target-aarch64/acap/consume_analytics_metadata_0_0_0_aarch64.eap 51f9e2ce6cfc81264afa310c9c51ee05ff45666d target-aarch64/acap/embedded_web_page_0_0_0_aarch64.eap diff --git a/apps-aarch64.filesize b/apps-aarch64.filesize index bfd8e66..fc62db6 100644 --- a/apps-aarch64.filesize +++ b/apps-aarch64.filesize @@ -1,4 +1,4 @@ -3694 target-aarch64/acap/axstorage_example_0_0_0_aarch64.eap +3698 target-aarch64/acap/axstorage_example_0_0_0_aarch64.eap 2213 target-aarch64/acap/bounding_box_example_0_0_0_aarch64.eap 2083 target-aarch64/acap/consume_analytics_metadata_0_0_0_aarch64.eap 859 target-aarch64/acap/embedded_web_page_0_0_0_aarch64.eap diff --git a/apps/axstorage_example/src/main.rs b/apps/axstorage_example/src/main.rs index db2eb27..09f0152 100644 --- a/apps/axstorage_example/src/main.rs +++ b/apps/axstorage_example/src/main.rs @@ -271,19 +271,13 @@ fn main() -> ExitCode { glib::timeout_add_seconds(10, || write_data("file1")); glib::timeout_add_seconds(10, || write_data("file2")); - glib::unix_signal_add(SIGTERM, { + glib::unix_signal_add_once(SIGTERM, { let main_loop = main_loop.clone(); - move || { - main_loop.quit(); - ControlFlow::Continue - } + move || main_loop.quit() }); - glib::unix_signal_add(SIGINT, { + glib::unix_signal_add_once(SIGINT, { let main_loop = main_loop.clone(); - move || { - main_loop.quit(); - ControlFlow::Continue - } + move || main_loop.quit() }); main_loop.run();