We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cad26 commit 026de3fCopy full SHA for 026de3f
tests/integration/long_callback/utils.py
@@ -113,6 +113,9 @@ def setup_long_callback_app(manager_name, app_name):
113
os.environ.pop("CELERY_BROKER")
114
os.environ.pop("CELERY_BACKEND")
115
kill(worker.pid)
116
+ from dash import page_registry
117
+
118
+ page_registry.clear()
119
120
elif manager_name == "diskcache":
121
os.environ["LONG_CALLBACK_MANAGER"] = "diskcache"
@@ -133,3 +136,6 @@ def setup_long_callback_app(manager_name, app_name):
133
136
shutil.rmtree(cache_directory, ignore_errors=True)
134
137
os.environ.pop("LONG_CALLBACK_MANAGER")
135
138
os.environ.pop("DISKCACHE_DIR")
139
140
141
0 commit comments