microsoft / microsoft/MIDI

Removal of MIDI 2.0 device during discovery and protocol negotiation can result in a hang/crash

Open
#819 2 comments 0 reactions 2 assignees View on GitHub

@garydan42 is already working on this.

Since Jan 13, 2026.

area-service-or-api :desktop_computer:
Dominant language
C++
Stars
679
Forks
72
Avg merge
4h 51m
Merged PRs (30d)
59

Description

Found in initial public release.

Rapid removal of a MIDI 2.0 device, during the initial setup of discovery and protocol negotiation, can result in undefined behavior including a hang or crash, in the discovery and protocol negotiation initialization step.

Issue found via automated bug reporting.

Related to other unexpected removal issues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.