Issue with AnyEvent::AIO
Marc Lehmann
schmorp at schmorp.de
Mon Jul 3 14:47:23 CEST 2023
Thanks for reporting back!
On Mon, Jul 03, 2023 at 08:47:09AM +0200, Dominik Csapak <d.csapak at proxmox.com> wrote:
> We had a 'use AnyEvent:IO' statement even though we did not use any of it.
Hmm, that is not actually expected. You should be able to load this (and
AnyEvent::AIO or not) without initialising AnyEvent. I'll have a look at
this.
> in the END handler (we use some normal 'exit' calls in our code after forking)
exit after forking is basically never right (you can exit in one process
only), because exit will run all exit handlers, which usually corrupts all
kinds of things (databases, gui connections and even normal files).
> Since we don't actually use it, we probably just remove the use statement for now.
That makes most sense, in any case.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list