Exemple #1
0
        public void Dispose()
        {
            Task.Run(async() => await CallViewModel.OnPageDisappearingAsync());


            //// TODO: How to call async in Dispose??? Currently fire and forget!!!
            //Task.Run(async () => await SignallingServerService.DisposeAsync());
            //_webRtcMiddleware.Dispose();
        }
Exemple #2
0
 protected override async void OnDisappearing()
 {
     base.OnDisappearing();
     Xamarin.Essentials.DeviceDisplay.KeepScreenOn = false;
     await _callViewModel.OnPageDisappearingAsync();
 }