!42227 【mediaQuery】解决crash

Merge pull request !42227 from 冯纪拓/mybad
This commit is contained in:
openharmony_ci 2024-09-02 14:05:47 +00:00 committed by Gitee
commit ea1ccd2c31
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -222,8 +222,8 @@ public:
} else {
napi_delete_reference(listener->env_, *iter);
}
listener->cbList_.erase(iter);
}
listener->cbList_.erase(iter);
}
return nullptr;
}