diff options
-rw-r--r-- | libview/ev-jobs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c index 281ad782..d0388031 100644 --- a/libview/ev-jobs.c +++ b/libview/ev-jobs.c @@ -983,8 +983,10 @@ ev_job_fonts_run (EvJob *job) if (!ev_document_doc_mutex_trylock ()) return TRUE; - if (!ev_document_fc_mutex_trylock ()) + if (!ev_document_fc_mutex_trylock ()) { + ev_document_doc_mutex_unlock (); return TRUE; + } #ifdef EV_ENABLE_DEBUG /* We use the #ifdef in this case because of the if */ |