[evolution-data-server] Bug 696637 - Deadlock in data_cal_view_dispose().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 696637 - Deadlock in data_cal_view_dispose().
- Date: Tue, 26 Mar 2013 14:04:16 +0000 (UTC)
commit 9db0c40a52487fa05c9570dcb2eb8e758856d5e7
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Mar 26 10:01:06 2013 -0400
Bug 696637 - Deadlock in data_cal_view_dispose().
Ownership semantics getting confused here.
e_cal_backend_remove_view() caused the view to be disposed, but
the view object was being too clever for its own good by calling
e_cal_backend_remove_view() from its own dispose().
calendar/libedata-cal/e-data-cal-view.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/calendar/libedata-cal/e-data-cal-view.c b/calendar/libedata-cal/e-data-cal-view.c
index 65a1b7d..cd33210 100644
--- a/calendar/libedata-cal/e-data-cal-view.c
+++ b/calendar/libedata-cal/e-data-cal-view.c
@@ -419,9 +419,6 @@ data_cal_view_dispose (GObject *object)
priv = E_DATA_CAL_VIEW_GET_PRIVATE (object);
if (priv->backend != NULL) {
- e_cal_backend_remove_view (
- priv->backend,
- E_DATA_CAL_VIEW (object));
g_object_unref (priv->backend);
priv->backend = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]