You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from version 0.19.0 , atom default binding to all iframes in pages. if add/remove iframe in one page lead to memory leak!
code :
void AtomRendererClient::WillReleaseScriptContext(
blink::WebFrame* frame,
v8::Handlev8::Context context,
int world_id) {
.........
.........
// Notice that we are not disposing the environment object here, because there
// may still be pending uv operations in the uv loop, and when they got done
// they would be needing the original environment.
// So we are leaking the environment object here, just like Chrome leaking the
// memory :) . Since it's only leaked when refreshing or unloading, so as long
// as we make sure renderer process is restared then the memory would not be
// leaked.
//env->Dispose();
.........
.........
Activity
[-]add/remove iframe cause memory leak![/-][+]add/remove iframe cause memory leak[/+]