1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-27 17:00:54 +01:00

Fixed regression in privacy plugin

This commit is contained in:
squidfunk 2024-10-15 22:52:36 +02:00
parent 5eef815858
commit e2c621f1d9
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 8 additions and 0 deletions

View File

@ -149,6 +149,10 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
# Sync all concurrent jobs
def on_env(self, env, *, config, files):
if not self.config.enabled:
return
# Wait until all jobs until now are finished
wait(self.pool_jobs)
# Process external assets in template (run later)

View File

@ -149,6 +149,10 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
# Sync all concurrent jobs
def on_env(self, env, *, config, files):
if not self.config.enabled:
return
# Wait until all jobs until now are finished
wait(self.pool_jobs)
# Process external assets in template (run later)