diff options
author | Andrew Dolgov <[email protected]> | 2023-04-09 22:36:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-09 22:36:37 +0300 |
commit | 44137342a695b9db59bf56f9348b8853f919cbbc (patch) | |
tree | 2313f26bbbaf0aca46d810aff2bfc55079d6e752 /classes/pluginhost.php | |
parent | fd5e0f98c4174bea254b790606f323b0ca73292a (diff) |
a bit more tracing
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-x | classes/pluginhost.php | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } } |