mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 16:02:53 +01:00
fix deadlock in pipeline: notifyAll instead of notify
This commit is contained in:
parent
e5e11503ad
commit
69f392c8f2
2 changed files with 3 additions and 2 deletions
1
NEWS
1
NEWS
|
|
@ -18,6 +18,7 @@
|
|||
cost, however. The virtual filesystem used by BPD is available for
|
||||
reuse by plugins (e.g., the FUSE plugin).
|
||||
* Fix crash when autotagging files with no metadata.
|
||||
* Fix a rare deadlock when finishing the import pipeline.
|
||||
|
||||
1.0b8
|
||||
-----
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ def _invalidate_queue(q, val=None, sync=True):
|
|||
q._qsize = _qsize
|
||||
q._put = _put
|
||||
q._get = _get
|
||||
q.not_empty.notify()
|
||||
q.not_full.notify()
|
||||
q.not_empty.notifyAll()
|
||||
q.not_full.notifyAll()
|
||||
|
||||
finally:
|
||||
if sync:
|
||||
|
|
|
|||
Loading…
Reference in a new issue