Skip to content

Commit

Permalink
Android: Don't forget to call Generic.exit on Device:exit ;).
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLuJe committed Jan 13, 2024
1 parent f0eb318 commit 5374d42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/device/android/device.lua
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ function Device:test()
end

function Device:exit()
Generic.exit(self)

android.LOGI(string.format("Stopping %s main activity", android.prop.name))
android.lib.ANativeActivity_finish(android.app.activity)
end
Expand Down

0 comments on commit 5374d42

Please sign in to comment.