 
     self.unsortedScoredUrls.removeAll()
     self.searchField.stringValue = ""
+    self.perSessionDisposeBag = DisposeBag()
   }
 
   func windowDidResignKey(_: Notification) { self.window.performClose(self) }

  private let emit: (Action) -> Void
  private let disposeBag = DisposeBag()

  private var cwdPathCompsCount = 0
  private var usesVcsIgnores = true
  private var scanToken = Token()

  required init(source: Observable<StateType>, emitter: ActionEmitter, state: StateType) {
    self.emit = emitter.typedEmit()
    self.windowController = NSWindowController(windowNibName: NSNib.Name("OpenQuicklyWindow"))
    self.searchStream = self.searchField.rx
      .text.orEmpty
      .throttle(.milliseconds(1 * 500), latest: true, scheduler: MainScheduler.instance)
      .distinctUntilChanged()

    super.init()

