is this code safe? if not how do i do it correctly?

        static AsyncHttpGet[] openRequests;
        static void updateRequests()
        {
                foreach(idx, req; openRequests)
                {
                        if(req.state != Fiber.State.TERM)
                                req.call();
                        else
                                openRequests.remove(idx);
                }
        }

thx :)

Reply via email to