Use daemon threads by default
Note: current implementation runs `thread.join()` to ensure that thread is not shut down while updating, but this works only with regular shutdown. If shutdown is somehow done without triggering VimLeavePre (for vim) threads can be terminated at any state. Closes #368 Closes #371
This commit is contained in:
parent
29f29213a9
commit
655549440b
|
@ -132,7 +132,7 @@ class Powerline(object):
|
|||
renderer_module=None,
|
||||
run_once=False,
|
||||
logger=None,
|
||||
use_daemon_threads = False,
|
||||
use_daemon_threads=True,
|
||||
environ=os.environ,
|
||||
getcwd=getattr(os, 'getcwdu', os.getcwd),
|
||||
home=None):
|
||||
|
|
Loading…
Reference in New Issue