fix: crash in gin::wrappable::secondweakcallback (#45379)
Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
64a1ede1a6
commit
f360dadbb4
22 changed files with 340 additions and 116 deletions
|
@ -816,4 +816,8 @@ const char* SimpleURLLoaderWrapper::GetTypeName() {
|
|||
return "SimpleURLLoaderWrapper";
|
||||
}
|
||||
|
||||
void SimpleURLLoaderWrapper::WillBeDestroyed() {
|
||||
ClearWeak();
|
||||
}
|
||||
|
||||
} // namespace electron::api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue