Skip to content

Commit

Permalink
Merge pull request #1369 from mattrjacobs/fix-debug-hook
Browse files Browse the repository at this point in the history
DebugHook got miswired before
  • Loading branch information
benjchristensen committed Jun 17, 2014
2 parents 6a5983e + 43b75a9 commit 9be2c3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static <T, C> DebugNotification<T> createSubscribe(Observer<? super T> o,
o = ds.getActual();
}
if (sourceFunc instanceof DebugHook.DebugOnSubscribe) {
sourceFunc = (OnSubscribe<T>) ((SafeSubscriber<T>) sourceFunc).getActual();
sourceFunc = ((DebugHook.DebugOnSubscribe) sourceFunc).getActual();
}
return new DebugNotification<T>(o, from, Kind.Subscribe, null, null, to, source, sourceFunc);
}
Expand Down

0 comments on commit 9be2c3d

Please sign in to comment.