darabos commited on
Commit
4dce97e
·
1 Parent(s): 1784508

At least do not block shutdown.

Browse files
lynxkite-bio/src/lynxkite_bio/k8s.py CHANGED
@@ -268,5 +268,5 @@ def _stop_later(name, namespace):
268
  # Nobody started the service in the meantime.
269
  _stop(name, namespace)
270
 
271
- t = threading.Thread(target=stop)
272
  t.start()
 
268
  # Nobody started the service in the meantime.
269
  _stop(name, namespace)
270
 
271
+ t = threading.Thread(target=stop, daemon=True)
272
  t.start()