[Bug Report] [0.6] Intermittent crashes when OpenRGB starts

OpenRGB 0.6 will frequently crash while starting up. It appears to happen during hardware detection and happens very reliably if run as Administrator.

Description of Bug

The following entry appears in the Windows Application log following each crash:

Faulting application name: OpenRGB.exe, version: 0.6.0.0, time stamp: 0x60b5c397
Faulting module name: hidapi.dll, version: 0.0.0.0, time stamp: 0x5d0a0a1b
Exception code: 0xc0000005
Fault offset: 0x00000000000021ee
Faulting process id: 0x2ba0
Faulting application start time: 0x01d75e8878e3c455
Faulting application path: C:\OpenRGB_0.6_Windows_64_405ff7f\OpenRGB Windows 64-bit\OpenRGB.exe
Faulting module path: C:\OpenRGB_0.6_Windows_64_405ff7f\OpenRGB Windows 64-bit\hidapi.dll
Report Id: 515e9489-565b-4d10-8c95-c923c89f9ae3
Faulting package full name: 
Faulting package-relative application ID: 

Hardware Configuration

Windows 10

Asus ROG Crosshair VII Hero

MSI GeForce RTX 2070 Gaming Z

Corsair Vengeance Pro RGB

Logitech G502 Lightspeed (G Hub installed)

Edited by Jonathan Hashimoto