USB forwarding from/to Mac stops working after Mac exits from sleep mode
This problem has been reproduced with NoMachine v. 7.0.211 and NoMachine v. 6.13.1 when a user connects from macOS to Windows.
Steps to reproduce:
- forward a USB device from macOS to Windows: everything works as expected.
- put the Mac into sleep mode.
Once the Mac wakes up, the forwarded device cannot be used any longer. It's also not possible to forward other devices.
The correct behaviour is the forwarded device should be disconnected when the Mac enters sleep mode, and reconnected automatically as soon as the Mac wakes up.
As a temporary workaround, restart Windows to make it possible to use USB forwarding again.
To avoid the problem, disconnect all USB devices before putting the Mac into sleep mode.
