Skip to content

.NET 7: Code for New Results.Stream() overloads #26355

@Rick-Anderson

Description

@Rick-Anderson

The sample at New Results.Stream() overloads throws ObjectDisposedException: Cannot access a disposed object. Object name: 'Image1'.because ofusingin the following line using var image = await Image.LoadAsync("puppy.jpeg");`

Removing using and code seems to work. See this GitHub sample that reproduces the error

The blog is for Preview 3, I'm using 7.0.100-preview.5.22307.18.

@halter73 please advise

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions