Page 1 of 1

Change OnContextCreated

Posted: Fri Oct 15, 2021 4:33 pm
by Almo
Hello.

First of all, thank you for this brilliant work.

On my system, I have a main screen displaying a web page. This works normally.

However, I have other screens that need to display other pages, with some javascript implementations.

Is it possible to set different OnContextCreated on each screen?

If I load the main page before the others that use OnContextCreated, the routine doesn't work.

Re: Change OnContextCreated

Posted: Fri Oct 15, 2021 5:12 pm
by salvadordf
Hi,

Perhaps this is what's happening to you :
https://magpcss.org/ceforum/viewtopic.php?f=6&t=18574&p=49793

I've seen some people commenting that there might be a memory leak with V8 contexts in CEF4Delphi. If you think this is what's happening in your application please provide a simple demo to reproduce this issue in my computer.

Re: Change OnContextCreated

Posted: Mon Oct 18, 2021 10:54 am
by Almo
Thanks for the quick response.

I will try to do a demo.