Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around a segfault during handle destruction.
This patch fixes perl5-dbi#111 During global destruction, the function dbd_dr_destroy is sometimes called before all handles are destroyed. It frees resources uses in the handle DESTROY function, causing a segfault when the handle DESTROY function tries to disconnect the handle. This patch simply sets a flag in dbd_dr_destroy which makes per-handle DESTROY functions skip trying to disconnect the handle.
- Loading branch information