Skip to content
Snippets Groups Projects
Commit df1d2fac authored by Simon McVittie's avatar Simon McVittie
Browse files

runtime: Don't critical if we were unable to lock the runtime

parent 387a7242
No related branches found
No related tags found
No related merge requests found
......@@ -297,7 +297,9 @@ pv_runtime_finalize (GObject *object)
g_free (self->runtime_usr);
g_free (self->source_files);
g_free (self->tools_dir);
pv_bwrap_lock_free (self->runtime_lock);
if (self->runtime_lock != NULL)
pv_bwrap_lock_free (self->runtime_lock);
G_OBJECT_CLASS (pv_runtime_parent_class)->finalize (object);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment