    # File lib/phusion_passenger/spawn_manager.rb, line 161
            def reload(app_group_name = nil)
                    @spawners.synchronize do
                            if app_group_name
                                    # Stop and delete associated ApplicationSpawner.
                                    @spawners.delete("app:#{app_group_name}")
                                    # Propagate reload command to associated FrameworkSpawner.
                                    @spawners.each do |spawner|
                                            if spawner.respond_to?(:reload)
                                                    spawner.reload(app_group_name)
                                            end
                                    end
                            else
                                    # Stop and delete all spawners.
                                    @spawners.clear
                            end
                    end
            end