fix
This commit is contained in:
parent
afc64ca257
commit
a64e55cbd8
2
docs
2
docs
|
@ -1 +1 @@
|
||||||
Subproject commit dbb560f13e9c15c7bfc96c7ae44bb3ae74c75fe7
|
Subproject commit d06f79a1848bd380d6ad9a71a3ead0c2c2ded4a1
|
|
@ -207,7 +207,7 @@ class API extends APIFactory
|
||||||
|
|
||||||
public function APIFactory()
|
public function APIFactory()
|
||||||
{
|
{
|
||||||
if ($this->API) {
|
if ($this->API && !$this->API->asyncInitPromise) {
|
||||||
foreach ($this->API->get_method_namespaces() as $namespace) {
|
foreach ($this->API->get_method_namespaces() as $namespace) {
|
||||||
$this->{$namespace} = new APIFactory($namespace, $this->API, $this->async);
|
$this->{$namespace} = new APIFactory($namespace, $this->API, $this->async);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user