mirror of
https://github.com/ckaczor/WorkIndicator.git
synced 2026-01-13 17:23:18 -05:00
WIP - microphone in use detection
This commit is contained in:
@@ -154,7 +154,7 @@ namespace WorkIndicator.Delcom
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!_deviceHandle.IsClosed)
|
||||
if (_deviceHandle != null && !_deviceHandle.IsClosed)
|
||||
_deviceHandle.Close();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user