/// <summary> /// Stop Plex /// </summary> public void Stop() { Task.Factory.StartNew(() => _pms.Stop()); }
/// <summary> /// Stop Plex /// </summary> public void Stop() { //do this in the calling thread so it only returns upon completion of stop _pms.Stop(); }