public AutomationBridge () { lock (syncRoot) { if (instance != null) Log.Error ("Another UiaDbus AutomationBridge has been created" + Environment.StackTrace); else instance = this; } }
public void Terminate() { app.RemoveAllEventHandlers(); lock (syncRoot) { AbortMainLoop(); if (instance == this) { instance = null; } } }
public AutomationBridge() { lock (syncRoot) { if (instance != null) { Log.Error("Another UiaDbus AutomationBridge has been created" + Environment.StackTrace); } else { instance = this; } } }
public void Terminate () { app.RemoveAllEventHandlers (); lock (syncRoot) { AbortMainLoop (); if (instance == this) instance = null; } }