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

Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
Keeley Hammond 2025-01-30 01:35:42 -08:00 committed by GitHub
commit f360dadbb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 340 additions and 116 deletions

View file

@ -66,6 +66,9 @@ class SimpleURLLoaderWrapper final
v8::Isolate* isolate) override;
const char* GetTypeName() override;
// gin_helper::CleanedUpAtExit
void WillBeDestroyed() override;
private:
SimpleURLLoaderWrapper(ElectronBrowserContext* browser_context,
std::unique_ptr<network::ResourceRequest> request,