Skip to content

"Object not disposable" error when creating loopback interface on Firefox #2

@decademoon

Description

@decademoon

Firefox does not support Symbol.dispose (is undefined) which causes using statements to fail because the dispose property is not defined.

Quick fix is to polyfill Symbol.dispose:

Symbol.dispose ??= Symbol('dispose');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions