Skip to content

TypeError: Cannot read properties of null (reading 'deactivate') #16681

@mjadobson

Description

@mjadobson

Describe the bug

After a boundary has caught an error in $derived await, if a reset() is performed, the following error is thrown:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'deactivate')
    at unsuspend (playground:output:2265:11)
    at async_body (playground:output:1673:4)

Reproduction

https://svelte.dev/playground/dcd78c4674c24e82b6cb78423c248fbf?version=5.38.5

System Info

Svelte 5.38.5

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions