Skip to content

Commit

Permalink
android input: do not error when the activity is destroyed, as this i…
Browse files Browse the repository at this point in the history
…s intended when killed by the system on finished in kotlin (#1224)
  • Loading branch information
pazos committed Oct 22, 2020
1 parent 16a0e6b commit afdd59b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ffi/input_android.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ function input.waitForEvent(usecs)
end
if android.app.destroyRequested ~= 0 then
android.LOGI("Engine thread destroy requested!")
error("application forced to quit")
return
end
elseif poll_state == C.ALOOPER_POLL_TIMEOUT then
Expand Down

0 comments on commit afdd59b

Please sign in to comment.