mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Deadlock
This commit is contained in:
@@ -33,6 +33,8 @@ namespace GHelper.Peripherals
|
||||
|
||||
public static void RefreshBatteryForAllDevices()
|
||||
{
|
||||
if (!IsAnyPeripheralConnect()) return;
|
||||
|
||||
lock (_LOCK)
|
||||
{
|
||||
foreach (IPeripheral m in AllPeripherals())
|
||||
|
||||
Reference in New Issue
Block a user