Max Blau
Max Blau
@liZe I don't have permissions to add reviewers, here's a PR for the workaround we discussed in https://github.com/Kozea/WeasyPrint/issues/2090
@liZe sorry, meant to post a comment. It's not needed - you can just do something like this instead: ``` font_config = FontConfiguration() del font_config ```
@liZe nevermind - probably due to other implementation details in `weasyprint`, just subtracting the ref count of the `FontConfiguration` instance isn't enough to get the garbage collector to delete it....