From 678d0acc002bb01868646e95626d1d8c4df6617f Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 15 Apr 2020 18:48:56 -0300 Subject: [PATCH] timeline: Remove subscriber from range tree as well update_range() does not remove any subscriber. They must be removed manually. --- src/core/gcal-timeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/gcal-timeline.c b/src/core/gcal-timeline.c index b5d683fb..bd098958 100644 --- a/src/core/gcal-timeline.c +++ b/src/core/gcal-timeline.c @@ -939,6 +939,7 @@ gcal_timeline_remove_subscriber (GcalTimeline *self, reset_completed_calendars (self); } + gcal_range_tree_remove_data (self->subscriber_ranges, subscriber); update_range (self); GCAL_EXIT;