go to bug id or search bugs for
PHP does not guarantee any destruction order. This means if you instantiate class
A before B, A may be destructed before B or B may be destructed before A. As
AMQPChannel needs an AMQPConnection object for construction one could assume,
that AMQPChannel objects are always destructed before AMQPConnection objects are
destructed. This may not always be the case. For cases where the AMQPConnection
object is destructed before the related AMQPChannel the AMQPConnection destructor
needs to take care of destructing related AMQPChannel objects. And this is what
the attached patch does.
Add a Patch
Add a Pull Request
Automatic comment from SVN on behalf of pdezwart
Log: Fixing Bug#62412 destruction order
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
Fixed in 1.0.4. Thanks for the help!