Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public override IDisposable Schedule<TState>(TState state, Func<IScheduler, TSta
}
});

return new CompositeDisposable(
return StableCompositeDisposable.Create(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CreateTrusted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, CreateTrusted takes params that will setup an array. Create with two parameters will go directly to the special case of StableCompositeDisposable.Binary.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I already brought up, it might be worth considering up to 16-ary special cases for StableCompositeDisposables for CombineLatest and Zip.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, two arguments only, my mistake.

d,
res.AsDisposable()
);
Expand Down