Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 641 - Memory leak: JavascriptRootObjectWrapper is not released on Reload #645

Merged
merged 1 commit into from
Dec 4, 2014

Conversation

sylvain-hamel
Copy link
Contributor

Temporary fix for #641 until a better fix is found. See discussion on #641 for more detail.

@@ -19,7 +19,7 @@ namespace CefSharp
JavascriptProperty^ _javascriptProperty;
int64 _ownerId;
IBrowserProcess^ _browserProcess;

Object^ _javascriptObjectWrapper;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason that this is of type object and not JavascriptObjectWrapper?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't figure out how to make the compiler happy with th real type so I used object as a temporary fix.

@amaitland
Copy link
Member

@sylvain-hamel I haven't compiled the code yet, so my comments are just from reading over it. Appreciate your comments 👍

@amaitland amaitland added this to the 37.0.0 milestone Nov 27, 2014
@jornh jornh modified the milestones: 37.0.0-pre01, 37.0.0 Nov 27, 2014
@sylvain-hamel
Copy link
Contributor Author

I did not plan on merging this when I commited this, which explains the state of the code. I'd really appreciate it if you could take care of finishing this change. change it in any way you want.

@amaitland
Copy link
Member

@sylvain-hamel No problem, I'll take care of it.

@sylvain-hamel
Copy link
Contributor Author

@amaitland Thanks a lot.

@amaitland amaitland merged commit fe63ff3 into cefsharp:master Dec 4, 2014
@sylvain-hamel
Copy link
Contributor Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants