Skip to content

Commit 95ba9f5

Browse files
triniwizrigor789
authored andcommitted
fix: loop
1 parent d8781fd commit 95ba9f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-app/runtime/src/main/cpp/CallbackHandlers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,8 @@ CallbackHandlers::GetImplementedInterfaces(JEnv& env, const Local<Object>& imple
588588
context).ToChecked();
589589

590590
if (length > 0) {
591-
for (int i = 0; i < length; i++) {
592-
auto element = interfacesArr->Get(context, i).ToLocalChecked();
591+
for (int j = 0; j < length; j++) {
592+
auto element = interfacesArr->Get(context, j).ToLocalChecked();
593593

594594
if (element->IsFunction()) {
595595
auto node = MetadataNode::GetTypeMetadataName(isolate, element);

0 commit comments

Comments
 (0)