private void _stopAll() { LoggingService.Stop(); AlertService.Stop(); AppService.Stop(); RenderingService.Stop(); //GestureService.Stop(this); }
private void _cleanUpAll() { SettingsPane.GetForCurrentView().CommandsRequested -= _vm.onCommandsRequested; //SearchPane.GetForCurrentView().QuerySubmitted -= _vm.onQuerySubmitted; RenderingService.Stop(); GestureService.Stop(this); ccDrawingSurfaceBottom.Content = null; ccDrawingSurfaceTop.Content = null; _fvm.ChangeState -= _fvm_ChangeState; DownloadService.Current.DownloadCountChanged -= Current_DownloadCountChanged; Messenger.Default.Unregister <GeneralSystemWideMessage>(this, DoGeneralSystemWideMessageCallback); AppService.NetworkConnectionChanged -= AppService_NetworkConnectionChanged; WindowLayoutService.OnWindowLayoutRaised -= WindowLayoutService_OnWindowLayoutRaised; }