Skip to content

Failing to dispose of webrtc objects before exiting crashes the Editor #4

@sebjf

Description

@sebjf

Once created, some webrtc wrapper types must be disposed of before the application quits or else an access violation will be thrown.

One possible cause is that the signalling thread is destroyed before the items are explicitly cleaned, leaving the finaliser to call release, which invokes the destructor, which in turn attempts to run on a destroyed thread.

The desired behaviour is that even when leaking resources, Unity does not crash.

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