Skip to content
Browse files

A note

  • Loading branch information...
1 parent 251913e commit cad179f237f86aaaacf49cc371cb704e8a5c4c17 @paulcbetts paulcbetts committed Mar 30, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 ReactiveUI.Mobile/AutoSuspendActivityHelper.cs
View
3 ReactiveUI.Mobile/AutoSuspendActivityHelper.cs
@@ -82,9 +82,12 @@ public AutoSuspendActivityHelper(Activity hostActivity)
host.IsResuming = onResume;
host.IsUnpausing = onResume;
+ bool hasRecentlyCrashed = false;
host.SetupDefaultSuspendResumeFunc = new Action<ISuspensionDriver>(driver => {
driver = driver ?? RxApp.GetService<ISuspensionDriver>();
+ // TODO: Handle crashes here
+
host.ShouldInvalidateState
.SelectMany(_ => driver.InvalidateState())
.LoggedCatch(this, Observable.Return(Unit.Default), "Tried to invalidate app state")

0 comments on commit cad179f

Please sign in to comment.
Something went wrong with that request. Please try again.