Skip to content

Commit

Permalink
fix: BindCommand unhandled exceptions don't fire on Xamarin Android (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson authored and madmonkey committed Jul 12, 2019
1 parent a45c947 commit 1e19460
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ReactiveUI/Platforms/android/HandlerScheduler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisp
bool isCancelled = false;
var innerDisp = new SerialDisposable() { Disposable = Disposable.Empty };

if (_looperId > 0 && _looperId == Java.Lang.Thread.CurrentThread().Id)
{
return action(this, state);
}

_handler.Post(() =>
{
if (isCancelled)
Expand Down

0 comments on commit 1e19460

Please sign in to comment.