From 6779e48237401a07790aa04d74175c814cdc5375 Mon Sep 17 00:00:00 2001 From: Albert Wang Date: Mon, 15 Jan 2024 00:37:01 -0800 Subject: [PATCH] Ensure DataCollector cleans up after itself --- silk/collector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/silk/collector.py b/silk/collector.py index 912b9298..de9d7a3a 100644 --- a/silk/collector.py +++ b/silk/collector.py @@ -59,6 +59,7 @@ def request(self, value): def _configure(self): self.local.objects = {} self.local.temp_identifier = 0 + self.stop_python_profiler() self.local.pythonprofiler = None @property