fix: crash in gin::wrappable::secondweakcallback (#45368)

This commit is contained in:
Robo
2025-01-30 03:20:37 +09:00
committed by GitHub
parent 8cf2e46c1f
commit ecd5d0a3a4
19 changed files with 233 additions and 6 deletions

View File

@@ -819,4 +819,8 @@ const char* SimpleURLLoaderWrapper::GetTypeName() {
return "SimpleURLLoaderWrapper";
}
void SimpleURLLoaderWrapper::WillBeDestroyed() {
ClearWeak();
}
} // namespace electron::api