Skip to content

Commit ecd1220

Browse files
authored
Merge pull request #549 from magento-performance/ACPT-1375
ACPT-1375: Remove RegisterShutdownInterface use from AppServer
2 parents ae8eda3 + 47d4698 commit ecd1220

File tree

3 files changed

+1
-53
lines changed

3 files changed

+1
-53
lines changed

lib/internal/Magento/Framework/ObjectManager/RegisterShutdownInterface.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/internal/Magento/Framework/Session/RequestAwareSessionManager.php

Lines changed: 0 additions & 25 deletions
This file was deleted.

lib/internal/Magento/Framework/Webapi/RequestAwareErrorProcessor.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
use Magento\Framework\App\ObjectManager;
1111
use Magento\Framework\App\Request\Http as Request;
1212
use Magento\Framework\HTTP\PhpEnvironment\Response;
13-
use Magento\Framework\ObjectManager\RegisterShutdownInterface;
1413
use Magento\Framework\Serialize\Serializer\Json;
1514

1615
/**
1716
* Request dependent Error Processor
1817
*/
19-
class RequestAwareErrorProcessor extends ErrorProcessor implements RegisterShutdownInterface
18+
class RequestAwareErrorProcessor extends ErrorProcessor
2019
{
2120
/**
2221
* @var Request
@@ -83,12 +82,4 @@ public function renderErrorMessage(
8382
// phpcs:ignore Magento2.Security.LanguageConstruct.DirectOutput
8483
echo $output;
8584
}
86-
87-
/**
88-
* @inheritDoc
89-
*/
90-
public function registerShutdown()
91-
{
92-
$this->apiShutdownFunction();
93-
}
9485
}

0 commit comments

Comments
 (0)