This commit is contained in:
Daniil Gentili 2019-06-07 20:56:40 +02:00
parent afc64ca257
commit a64e55cbd8
2 changed files with 2 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit dbb560f13e9c15c7bfc96c7ae44bb3ae74c75fe7
Subproject commit d06f79a1848bd380d6ad9a71a3ead0c2c2ded4a1

View File

@ -207,7 +207,7 @@ class API extends APIFactory
public function APIFactory()
{
if ($this->API) {
if ($this->API && !$this->API->asyncInitPromise) {
foreach ($this->API->get_method_namespaces() as $namespace) {
$this->{$namespace} = new APIFactory($namespace, $this->API, $this->async);
}