
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have an issue with a suspected Memory Retention (Bug?) in Container Reuse (CArrayInt). I tried ChatGPT but could not get much from it, but it took on the onus of drafting for me a detailed query that precisely describes the observed behaviour and the concern I'm facing, including relevant background for anyone who would try to reproduce or understand the issue. :)
Context:
When I do this:
is failing to fully clean up,
🔧 What I’m Using Internally
💡 What I Suspect
The delete operator does correctly trigger the destructor of CArrayInt, and the destructor in turn calls Shutdown(). However, the m_data[] array inside CArrayInt may still hold content because: