You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, it seems you just need something that triggers a get_gc handler, and Pdo\Sqlite has a custom get_gc. So it's not directly related to that class.
Anyway, cc @arnaud-lb since this code is his domain.
Activity
DanielEScherzer commentedon Sep 17, 2024
Minimal reproduction:
Even removing the Sqlite database is enough for this to not fail, maybe that should be tagged with that label?
ndossche commentedon Sep 17, 2024
No, it seems you just need something that triggers a get_gc handler, and Pdo\Sqlite has a custom get_gc. So it's not directly related to that class.
Anyway, cc @arnaud-lb since this code is his domain.
arnaud-lb commentedon Sep 24, 2024
Indeed. The
get_gchandler has the effect of changing the traversal order of the graph, and so of the dtor order.arnaud-lb commentedon Oct 2, 2024
Fixed by #16025.
Thank you @YuanchengJiang!