public static void Unloader() { lock (lockObj) { if (instance != null) { instance.Dispose(); instance = null; } } }
public static void Loader(MyPhonePlugins.IMyPhoneCallHandler callHandler) { instance = new ProjectKoraiTelephonyPlugin(callHandler); instance.StartServiceAsync(); }