send_reboot_after_delay

Function send_reboot_after_delay 

Source
fn send_reboot_after_delay(hub: Hub)
Expand description

Spawns a thread that sleeps for 1 second then sends Event::Select(EntryId::Reboot).

The delay gives the render loop time to process the final OtaDownloadProgress label update before the event loop exits.