Remove g_Instance in Bridge.cpp. This global was causing a stack overflow.
The loop was: ~DeviceSystemBridge() Shutdown() ShutdownInternal() RegisterAdapterSignalHandlers() ~DeviceSystemBridge() g_Instance seemed to be used to prevent the DeviceSystemBridge from going out of scope while the adapter listener was still alive. I handled this by notifying the listener in the bridge's destructor.
Showing with 21 additions and 19 deletions