Skip to content

Commit

Permalink
Update search.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
mirtlecn authored May 29, 2024
1 parent e86c800 commit d23c3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/search.lua
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ function f.fini( env )
if env.if_reverse_lookup or env.if_schema_lookup then
env.notifier:disconnect()
env.commit_notifier:disconnect()
if env.mem.disconnect then env.mem:disconnect() end
if env.search.disconnect then env.search:disconnect() end
if env.mem and env.mem.disconnect then env.mem:disconnect() end
if env.search and env.search.disconnect then env.search:disconnect() end
if env.mem or env.search or env.db_table then
env.db_table = nil
env.mem = nil
Expand Down

0 comments on commit d23c3db

Please sign in to comment.