fix: crash in gin::wrappable::secondweakcallback (#45378)
fix: crash in gin::wrappable::secondweakcallback (#45368)
This commit is contained in:
parent
e99328a45e
commit
ef1ad85082
19 changed files with 230 additions and 3 deletions
|
@ -179,6 +179,9 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
static gin::WrapperInfo kWrapperInfo;
|
||||
const char* GetTypeName() override;
|
||||
|
||||
// gin_helper::CleanedUpAtExit
|
||||
void WillBeDestroyed() override;
|
||||
|
||||
void Destroy();
|
||||
void Close(std::optional<gin_helper::Dictionary> options);
|
||||
base::WeakPtr<WebContents> GetWeakPtr() { return weak_factory_.GetWeakPtr(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue