Skip to content

unidict fetch leaked if using Request object as argument #1823

@stalkerg

Description

@stalkerg

Bug Description

unidict leaked if using Request, for example:

export function create_fetch({ event, options, state, get_cookie_header }) {
	return async (info, init) => {
		return await fetch(new Request(info, init));
	};
}

I found it in SvelteKit inside this issue sveltejs/kit#8239

Reproducible By

See SvelteKit issue.

Environment

Ubuntu and Gentoo with the latest node 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions