Expose ShouldSwapProcessesForNavigation as API

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Expose ShouldSwapProcessesForNavigation as API

Postby zcbenz » Mon Feb 25, 2013 8:11 am

Due to Chromium's issue 126064 http://code.google.com/p/chromium/issues/detail?id=126064, reloading will cause memory leaks on some pages, so users need a way to force restarting the renderer process to avoid memory increasing infinitely.

One way is to overload ContentBrowserClient::ShouldSwapProcessesForNavigation to tell Chromium to start a new renderer process when navigating, but CEF didn't expose it in its API, a corresponding API in CEF would be very helpful.
zcbenz
Newbie
 
Posts: 1
Joined: Mon Feb 25, 2013 6:24 am

Re: Expose ShouldSwapProcessesForNavigation as API

Postby magreenblatt » Tue Feb 26, 2013 5:57 pm

Sounds reasonable. Please add an issue to the CEF issue tracker.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 27 guests