Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 42b3208

Browse files
committed
Fix threading bug
1 parent 3dd15ae commit 42b3208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebased/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def search(
170170
finally:
171171
dependencies.db.close()
172172
shutdown_event.set()
173-
if thread is not None:
173+
if thread is not None and thread.is_alive():
174174
thread.join()
175175
if flags.stats:
176176
print(STATS.dumps())

0 commit comments

Comments
 (0)