• Thibault Saunier's avatar
    previewers: Pause each previewers when pausing the GeneratorManager · 756c69d7
    Thibault Saunier authored
    To enhance performance while removing assets we are pausing
    the previewer generation while deleting clips, this means that
    the current previewer is always reset to None (in the Manager) and we
    call `start_next_previewer` when we are done with the clip removal.
    If the clip holding the generator that was being used before pausing
    was not removed, it leads to that generator being restarted, but
    previous code was just recreating a new pipeline from it, without
    ever stoping previous pipeline, this previous pipeline was destructed
    while in PAUSED... leading to the deadlock described in the bug report.
    
    The strategy is to inform previewers that they should be
    PAUSED so that they just restart when needed.
    
    Fixes #2227
    756c69d7
Name
Last commit
Last update
..
coptimizations Loading commit data...
dialogs Loading commit data...
timeline Loading commit data...
undo Loading commit data...
utils Loading commit data...
viewer Loading commit data...
__init__.py Loading commit data...
application.py Loading commit data...
autoaligner.py Loading commit data...
check.py Loading commit data...
clipproperties.py Loading commit data...
configure.py.in Loading commit data...
editorperspective.py Loading commit data...
effects.py Loading commit data...
greeterperspective.py Loading commit data...
mainwindow.py Loading commit data...
mediafilespreviewer.py Loading commit data...
medialibrary.py Loading commit data...
perspective.py Loading commit data...
pluginmanager.py Loading commit data...
preset.py Loading commit data...
project.py Loading commit data...
render.py Loading commit data...
settings.py Loading commit data...
shortcuts.py Loading commit data...
tabsmanager.py Loading commit data...
titleeditor.py Loading commit data...
transitions.py Loading commit data...