Additional log messages

This commit is contained in:
Sebastian Ramacher 2024-03-03 12:43:58 +01:00
parent ef6e7e295c
commit b230f8f1b3

View File

@ -140,6 +140,7 @@ static void renderer_finalize(GObject* object) {
zathura_renderer_stop(renderer);
if (priv->pool != NULL) {
girara_debug("Waiting for thread pool to finish.");
g_thread_pool_free(priv->pool, TRUE, TRUE);
}
g_mutex_clear(&(priv->mutex));
@ -348,6 +349,7 @@ void zathura_renderer_unlock(ZathuraRenderer* renderer) {
void zathura_renderer_stop(ZathuraRenderer* renderer) {
g_return_if_fail(ZATHURA_IS_RENDERER(renderer));
ZathuraRendererPrivate* priv = zathura_renderer_get_instance_private(renderer);
girara_debug("Setting about-to-close flag for renderer");
priv->about_to_close = true;
}