       else
         @dead_processes.push active
 
-  ###
-  4th
-
-  Destroy dead processes one by one ( passing the next destroy as callback )
-  then run the pending proccess
+  ###*
+  Destroy the dead processes (doesn't need to be active) one by one, then run the pending process.
+
+  @method _destroy_dead_processes
   ###
   _destroy_dead_processes:()=>
     if @dead_processes.length

    else
      @_run_pending_processes()

  ###
  5th
  Execute run method of pending processes that are not active
  ###
  _run_pending_processes:()=>
    if @pending_processes.length

      process = @pending_processes.pop()
      search  = route: match: process.route.match
      found = _.find @active_processes, (found_process)->
        return found_process.route.match is process.route.match


###*
  Core module
  @module core
###

Router = require 'theoricus/core/router'
Process = require 'theoricus/core/process'
_ = require 'lodash'
