title: What happens to event listener handler context when a function is being invoked inside it?
body: <p>I have a method that spawn a child process, which has event listeners and it's handlers inside it.</p>
  
  <p>My question are:</p>
  
  <ol>
  <li>What will happen to method context(memory) when I re-invoke the method inside an event handler inside it?</li>
  <li><p>Will garbage collection clear the method context or will it still remain in memory until the entire application exist</p>
  
  <pre><code>import { spawn } from 'child_process';
  class SomeThing {
  initChildProcess() {
    const childProcess = spawn('go', [ 'run', 'awesome.go' ])
    // what will happen to this context
    // will garbage collector clear it?
    childProcess.once('close', () =&gt; {
      // when I re-invoked it inside this event handler?
      this.initChildProcess()
    })
   }
  }
  </code></pre></li>
  </ol>