Clear a LRU cache when (de)activating Flamenco
This commit is contained in:
parent
ff8e71c542
commit
e7f2567bfc
@ -596,6 +596,7 @@ def activate():
|
|||||||
global flamenco_is_active
|
global flamenco_is_active
|
||||||
log.info('Activating Flamenco')
|
log.info('Activating Flamenco')
|
||||||
flamenco_is_active = True
|
flamenco_is_active = True
|
||||||
|
_render_output_path.cache_clear()
|
||||||
|
|
||||||
|
|
||||||
def deactivate():
|
def deactivate():
|
||||||
@ -604,6 +605,7 @@ def deactivate():
|
|||||||
global flamenco_is_active
|
global flamenco_is_active
|
||||||
log.info('Deactivating Flamenco')
|
log.info('Deactivating Flamenco')
|
||||||
flamenco_is_active = False
|
flamenco_is_active = False
|
||||||
|
_render_output_path.cache_clear()
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
|
Reference in New Issue
Block a user