Skip to content
  • Brendan Long's avatar
    Remove g_Instance in Bridge.cpp. This global was causing a stack overflow. · 8983e903
    Brendan Long authored
    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.
    8983e903