Fix fix reference cycle in test col_accessor_map callback
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 20 Nov 2017 14:21:47 +0000 (14:21 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 21 Nov 2017 15:35:07 +0000 (15:35 +0000)
commitf3bed1f1082ac865772d577252a7c80af4504d4c
tree186c601caa412856c617af34dce81d1dd6972b2c
parentb97f3990a6d984919bfb19ad70b1b660f8812cb5
Fix fix reference cycle in test col_accessor_map callback

This was making the tester's DESTROY method try to reconnect to delete
tables during global destruction, causing crashes (including
segfaults).

There's still something else causing causing occasional segfaults in
XS_DBI_dispatch (called for DBI::common::DESTROY) during global
destruction.

In passing, use curry everywhere appropriate.
Makefile.PL
lib/DBIx/Class/Schema/Loader.pm
lib/DBIx/Class/Schema/Loader/Base.pm
t/lib/dbixcsl_common_tests.pm