1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-10-26 04:42:43 +03:00

examples/target-disk-mode: Kill splash to free DRM context

This commit is contained in:
Samuel Dionne-Riel 2021-01-30 22:53:49 -05:00
parent bd1217c993
commit 3c7cc26ece

View File

@ -24,6 +24,9 @@ class Tasks::RunGui < SingletonTask
end
def run()
# Free up the framebuffer / DRM context
Progress.kill()
System.run(LOADER, "/applets/tdm-gui.mrb")
# This `raise` shouldn't really happen as `System#run` will raise