             @encoderWorker.postMessage(['encode', e.inputBuffer.getChannelData(0)])
       return
 
+    # Called once when the recording has been stopped
     stopRecording: () ->
       if (@state == 'inactive')
         return

      @chunks = []
      @chunkType = null

      if (@destinationNode)
        @destinationNode.disconnect()
        @destinationNode = null

        nextNode.connect(@outputGainNode)

      if (@analyserNode)
        nextNode.connect(@analyserNode)

      @outputGainNode.connect(@destinationNode)
