     @emitted = false
     @search = null
     @is_async = false
+    Worker.clear_callback?.apply this
 
   # If the caught error is from a `@for_reals`, then try to resolve
   # dependencies.

  # Alias for `Worker.mixin`
  mixin: (mixins) ->
    Worker.mixin mixins


# The worker class is the context under which runner functions are run.

  
  # We're done!
  finish: (result) ->
    Worker.finish_callback?.apply this
    num_workers--
    @queue.finish @key
    if result? && !@emitted
