Check BrowserWindow's lifetime
This commit is contained in:
parent
1569dfa2e8
commit
ae52af3870
2 changed files with 7 additions and 0 deletions
|
@ -73,6 +73,9 @@ class Window : public mate::TrackableObject<Window>,
|
|||
void OnDevToolsClosed() override;
|
||||
void OnExecuteWindowsCommand(const std::string& command_name) override;
|
||||
|
||||
// mate::Wrappable:
|
||||
bool IsDestroyed() const override;
|
||||
|
||||
private:
|
||||
// APIs for NativeWindow.
|
||||
void Destroy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue