Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
bofeng-song committed Dec 12, 2024
1 parent 11a2357 commit 32731f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/cocos/platform/android/AndroidPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ int32_t AndroidPlatform::loop() {
// suspend thread while _loopTimeOut set to -1
while (ALooper_pollOnce(_loopTimeOut, nullptr, nullptr,
reinterpret_cast<void **>(&source)) >= 0) {
// Process events
// Process event
if (source != nullptr) {
source->process(_app, source);
}
Expand Down

0 comments on commit 32731f4

Please sign in to comment.