Problem solved. I had a MockSession (POE implementation of a MockObject) that was holding a reference to a session.
Making it not hold that reference solved the problem. As a general solution, I'll have MockSession stringify sessions and closures. On Fri, 2003-07-11 at 10:40, Stephen Nelson wrote: > Hello all-- > > I've rewritten my video scheduling system to make it more testable. I'm > having trouble getting POE to shut down when I send my sessions a > shutdown message. My shutdown handlers: > > * Clean out their heaps > * Unalias themselves > * Send 'shutdown' messages to child sessions > > Somehow, one of my test scripts just won't shut down. Can anyone have a > look and see what's going on? > > The module in question is here: > > http://stephen.perlmonk.org/Video-PlaybackMachine-0.01.tar.gz > > You can run the test in question by typing: > > perl Makefile.PL; make; perl -Iblib/lib t/scheduler.t > > It depends on this module: > > http://stephen.perlmonk.org/POE-Component-MockSession-0.01.tar.gz > > It's possible that the install process might demand the Xine_simple > module. It shouldn't, but I haven't tested it. I can supply Xine_simple > if it does, or (better yet) fix things so that Xine_simple isn't needed > to run this test. > > I've run a trace, and attach the trace file. Thanks very much for any > help. > >
