Subject: | Singleton objects are not always destroyed properly |
The Apache::Singleton::Process class, being very much like
Class::Singleton, suffers from the same problem with its singleton
objects not being destroyed in a predictable manner as I've reported for
Class::Singleton in CPAN RT #68526. The bug report has not yet been
responded to, so I thought another pair of eyes on the case wouldn't
hurt. (By all means close this report as basically a duplicate of that
one if you wish, and if you're able to help with the problem then add
your comments to that report. This is just a heads-up, really.)
The test program that I attached to that bug report exhibits similar
problems, although, typically, with slightly different results, if you
just change Class::Singleton to Apache::Singleton and replace the
has_instance() call with call to instance() instead.