From 32d3d5a80d8f0a73260f22725cddccd37e365106 Mon Sep 17 00:00:00 2001 From: Kipp Cannon <kipp.cannon@ligo.org> Date: Thu, 29 Mar 2018 18:11:41 +0900 Subject: [PATCH] inspiral.py: force .last_coincs garbage collection - ? --- gstlal-inspiral/python/inspiral.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gstlal-inspiral/python/inspiral.py b/gstlal-inspiral/python/inspiral.py index 549d2bbb8d..8da3cf2bcc 100644 --- a/gstlal-inspiral/python/inspiral.py +++ b/gstlal-inspiral/python/inspiral.py @@ -962,6 +962,12 @@ class Data(object): break del event.snr_time_series + # garbage collect last_coincs + # FIXME: this should not be needed. something is wrong. + # if this is needed, then why don't we have to garbage + # collect everything ourselves? + self.stream_thinca.last_coincs = {} + def flush(self): with self.lock: self.__flush() -- GitLab