Hi,
Delphi releases all interfaces automatically when they are out of scope. In fact, they are released even before the final "end" that marks the last line of that procedure.
According to the documentation, interfaces are released when the last reference to them goes out of scope :
http://docwiki.embarcadero.com/RADStudi ... References
pV8Context is a local interface in that procedure and it will be released automatically right after the pV8Context.Exit call.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Eval JS doesn't realease Interfaces
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact: