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:
ZyX 2013-03-30 15:54:33 +04:00
parent 29f29213a9
commit 655549440b
1 changed files with 1 additions and 1 deletions

View File

@ -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):