mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: crash in gin::wrappable::secondweakcallback (#45368)
This commit is contained in:
@@ -819,4 +819,8 @@ const char* SimpleURLLoaderWrapper::GetTypeName() {
|
||||
return "SimpleURLLoaderWrapper";
|
||||
}
|
||||
|
||||
void SimpleURLLoaderWrapper::WillBeDestroyed() {
|
||||
ClearWeak();
|
||||
}
|
||||
|
||||
} // namespace electron::api
|
||||
|
||||
Reference in New Issue
Block a user