Skip to content

Commit

Permalink
Store in integrations registry teh result of initing sandboxed api
Browse files Browse the repository at this point in the history
  • Loading branch information
labbati committed Sep 9, 2019
1 parent 0199fb7 commit caf9d48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DDTrace/Integrations/IntegrationsLoader.php
Expand Up @@ -131,8 +131,8 @@ public function loadAll()
}

if (strpos($class, 'SandboxedIntegration') !== false) {
$this->loadings[$name] = new $class();
$this->loadings[$name]->init();
$instance = new $class();
$this->loadings[$name] = $instance->init();
} else {
$this->loadings[$name] = $class::load();
}
Expand Down

0 comments on commit caf9d48

Please sign in to comment.