toxtli / cefpython

Automatically exported from code.google.com/p/cefpython
1 stars 0 forks source link

Implement OnContextReleased(), need to release frames kept in JavascriptBindings.__frames #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently in V8Contexthandler::OnContextCreated() we save frames that are being 
created to a dictionary JavascriptBindings.__frames, it is needed later when 
calling Rebind() as we need to do rebinding in all frames of all browsers. But 
when browser or frame is destroyed it will result in error when we try to do 
rebinding in this non-existing frame. So we need to remove frames that are 
destroyed from the __frames dictionary, this needs to be done in 
OnContextReleased() of v8contexthandler.

Original issue reported on code.google.com by czarek.t...@gmail.com on 22 Sep 2012 at 7:25

GoogleCodeExporter commented 8 years ago
Fixed in revision 0f42e0248805.

Original comment by czarek.t...@gmail.com on 19 Nov 2012 at 12:54

GoogleCodeExporter commented 8 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/cefpython/issues/15

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 6:25