On Mon, May 20, 2019 at 6:59 AM Gautham B A wrote:
>
> Hi all,
>
> I'm trying to track when a variable becomes invalid.
> Consider the following code where the variable goes out of scope -
>
> function SomeFunction() {
> for(let i = 0; i < 10; ++i) {
> let instance = new MyClass(); // MyClass is i
Hi all,
I'm trying to track when a variable becomes invalid.
Consider the following code where the variable goes out of scope -
function SomeFunction() {
for(let i = 0; i < 10; ++i) {
let instance = new MyClass(); // MyClass is implemented in C++
}
// instance goes out of scope and isn't accessib