From 44137342a695b9db59bf56f9348b8853f919cbbc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Apr 2023 22:36:37 +0300 Subject: a bit more tracing --- classes/pluginhost.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes/pluginhost.php') diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 09c8b1671..bdbecca13 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -659,6 +659,7 @@ class PluginHost { private function save_data(string $plugin): void { if ($this->owner_uid) { + $scope = Tracer::start(__METHOD__); if (!$this->pdo_data) $this->pdo_data = Db::instance()->pdo_connect(); @@ -686,6 +687,7 @@ class PluginHost { } $this->pdo_data->commit(); + $scope->close(); } } -- cgit v1.2.3