Hello,

Is it possible that it breaks the following capability of POE::Wheel::Run
Running POE::Kernel in the Child

Calling POE::Kernel->run() in the child process effectively resumes the
copy of the parent process. This is rarely (if ever) desired.

More commonly, an application wants to run an entirely new POE::Kernel
instance in the child process. This is supported by first stop()ping the
copied instance, starting one or more new sessions, and calling run()
again. For example:

  Program => sub {
    # Wipe the existing POE::Kernel clean.
    $poe_kernel->stop();

    # Start a new session, or more.
    POE::Session->create(
      ...
    );

    # Run the new sessions.
    POE::Kernel->run();
  }

I had a program that used the above construct which works fine with

POE  => $VERSION = '1.354';

POE::Wheel::Run => $VERSION = '1.354';


However with

POE => $VERSION = '1.367';
POE::Wheel::Run => $VERSION = '1.367';

It seems calling POE::Kernel->stop(); it stops the POE::Kernel
instance in parent as well.

Just wondering if the above change could be causing this behaviour (?)

Thanks in advance.

Best Regards




On Thu, Oct 30, 2014 at 4:00 PM, Rocco Caputo <[email protected]> wrote:

> Hello, everyone.  I hope you've been well.
>
> It's come to my attention that POE::Kernel->stop() isn't triggering _stop
> handlers.  This seems wrong, so I've changed it.  I hope it doesn't break
> anything, but I'm mentioning it here in case people want to check in
> advance of a release.
>
> I've already run it past irc.perl.org #poe, and nobody objected.
>
> --
> Rocco Caputo <[email protected]>

Reply via email to