Remove reference to the test container after kernel shutdown
This reference is not working anymore, as the main container was reset and cleaned. Keeping a reference to the test container will prevent collecting the object graph.
This commit is contained in:
parent
7fb7cf26ad
commit
d8fb1b97c9
@ -123,6 +123,7 @@ abstract class KernelTestCase extends TestCase
|
|||||||
$container->reset();
|
$container->reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
static::$container = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user