On Mon, Aug 10, 2009 at 8:20 PM, Felix
Gilcher<[email protected]> wrote:
> Hi Simon,
>
> probably the best option would to register the code to be executed as a
> shutdown function via register_shutdown_function. This code will be run at
> the very end of the request, after every other code has finished, even after
> agavi has been shut down. However that might still get you into problems as
> all resources might not be loaded at the point where the main request
> finishes so you might consider doing a shellout with some wait time. You'd
> also have to take into account that some agavi facilities might not be
> available any more, the database connections for example.
>

Thanks for the tip!

[ simon.cpu ]

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to