private void WaitForHandlers() { // Get the Handlers from the Controller while (m_handlerManager.GetHandlers() == null) { try { Thread.Sleep(1000); if (m_handlerManager.GetHandlers() != null) { break; } } catch (Exception) { break; } } }
private void WaitForHandlers() { // Get the Handlers from the Controller while (m_handlerManager.GetHandlers() == null) { try { Thread.Sleep(1000); if (m_handlerManager.GetHandlers() != null) { break; } } catch (Exception) { break; } } }