Skip to content

Commit

Permalink
fix(android): erase NativeRenderManager when destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
siguangli2018 committed Nov 4, 2024
1 parent 12ffb0a commit 5bed94e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ void NativeRenderManager::DestroyRenderDelegate(JNIEnv* j_env) {
j_env->CallVoidMethod(j_object, j_method_id);
JNIEnvironment::ClearJEnvException(j_env);
j_env->DeleteLocalRef(j_class);
persistent_map_.Erase(id_);
}

void NativeRenderManager::InitDensity() {
Expand Down

0 comments on commit 5bed94e

Please sign in to comment.