Skip to content

Commit

Permalink
Merge pull request #433 from moomons/dev
Browse files Browse the repository at this point in the history
Fixes #432
  • Loading branch information
Belphemur committed May 7, 2020
2 parents 43e8cd0 + d6c9f44 commit 77b3fe5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public void OnDeviceRemoved(string deviceId)

public void OnDefaultDeviceChanged(DataFlow flow, Role role, string defaultDeviceId)
{
if (defaultDeviceId == null)
return;

Task.Factory.StartNew(() =>
{
var device = _enumerator.GetDevice(defaultDeviceId);
Expand Down

0 comments on commit 77b3fe5

Please sign in to comment.