1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00

Reset current search service when closing

This commit is contained in:
Tae Won Ha 2020-01-26 21:48:43 +01:00
parent a629561ebb
commit d469d6d9e1
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -152,6 +152,7 @@ class OpenQuicklyWindow: NSObject,
private func reset() { private func reset() {
self.scanToken = Token() self.scanToken = Token()
self.currentSearchService?.stopScanScore() self.currentSearchService?.stopScanScore()
self.currentSearchService = nil
self.endProgress() self.endProgress()
self.unsortedScoredUrls.removeAll() self.unsortedScoredUrls.removeAll()