Re: POE::Wheel::Run::Win32 and Win32::Daemon

Olivier Mengué <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
2009/10/13 Andrew Feren <[email protected]>

>  I'm not really sure, but I'd guess that the Daemon module isn't
> copying/cloning something that it should.  As a result
> Win32::Daemon::StopService(); is getting called unexpectedly in a DESTROY or
> END block when the child exits.
>

That is probably the reason as there is effectively an END block. Maybe
checking $$ before calling StopServicewould fix the problem. I'll try this.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.