Kévin Dunglas
Kévin Dunglas
I've just tried to reproduce locally, but without success. Using the `main` branch, the cleanup routine is triggered and the file is cleaned as expected.
Could you try with the latest beta I published yesterday if the problem persists?
The code looks good to me, however I'm unsure if this use case is frequent enough to be covered directly in the core component, as it's already possible to use...
Yes, decorating the hub.
I'm also experimenting this error on a private project.
I'm facing the same problem while debugging [Mercure](https://github.com/dunglas/mercure): ``` POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 5212824 lock 0xc0001aa780 hub/bolt_transport.go:120 hub.(*BoltTransport).Dispatch { t.Lock() }
I confirm that this command works like a charm. Thanks, @dcs3spp!
Maybe can you try this trick to avoid circular references with Doctrine and display the entity's id when it is detected more than once: https://github.com/dunglas/DunglasApiBundle/blob/master/src/JsonLd/Serializer/ItemNormalizer.php#L63-L65 ``` php $this->setCircularReferenceHandler(function ($object) {...
@bpolaszek you can use the `autoconfigure` feature: https://symfony.com/blog/new-in-symfony-3-3-service-autoconfiguration
@felicitus check this out: https://github.com/api-platform/demo/pull/15