Make sure browserWindow.destroy() doesn't leave zombie processes.
This commit is contained in:
parent
687c9de5d7
commit
e45f83e62a
3 changed files with 16 additions and 0 deletions
|
@ -114,6 +114,10 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
virtual void RestartHangMonitorTimeout();
|
||||
virtual bool SetIcon(const std::string& path);
|
||||
|
||||
// Returns the process handle of render process, useful for killing the
|
||||
// render process manually
|
||||
virtual base::ProcessHandle GetRenderProcessHandle();
|
||||
|
||||
// Captures the page with |rect|, |callback| would be called when capturing is
|
||||
// done.
|
||||
virtual void CapturePage(const gfx::Rect& rect,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue