fix gin bug & audioplayer bug

This commit is contained in:
2026-11-24 12:09:18 +01:00
parent 700f797cc4
commit e0a1769d0f
10 changed files with 130 additions and 96 deletions
+4 -9
View File
@@ -9,9 +9,8 @@
*/
use Drupal\Core\Update\UpdateKernel;
use Symfony\Component\HttpFoundation\Request;
$autoloader = require_once 'autoload.php';
require_once 'autoload_runtime.php';
// Disable garbage collection during test runs. Under certain circumstances the
// update path will create so many objects that garbage collection causes
@@ -21,10 +20,6 @@ if (drupal_valid_test_ua()) {
gc_disable();
}
$kernel = new UpdateKernel('prod', $autoloader, FALSE);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
return static function () {
return new UpdateKernel('prod', require 'autoload.php', FALSE);
};