diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/new_contact.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/new_contact.c b/src/ui/new_contact.c index 8b73f89..317957d 100644 --- a/src/ui/new_contact.c +++ b/src/ui/new_contact.c | |||
@@ -573,7 +573,8 @@ ui_new_contact_dialog_cleanup(UI_NEW_CONTACT_Handle *handle) | |||
573 | { | 573 | { |
574 | g_assert(handle); | 574 | g_assert(handle); |
575 | 575 | ||
576 | pthread_join(handle->video_tid, NULL); | 576 | if (handle->video_tid) |
577 | pthread_join(handle->video_tid, NULL); | ||
577 | 578 | ||
578 | g_object_unref(handle->builder); | 579 | g_object_unref(handle->builder); |
579 | 580 | ||