Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

ThrottleFirstFrame throws NullReferenceException #160

@hsanno

Description

@hsanno

ThrottleFirstFrame throws NullReferenceException when stream sends OnNext immediately.
Could you allocate tick before subscribing?

// ThrottleFirstFrame.Run
public IDisposable Run()
{
    cancelable = new SerialDisposable();
    // if source sends OnNext immediately, tick is null!
    var subscription = parent.source.Subscribe(this);

    tick = new ThrottleFirstFrameTick(this);

    return StableCompositeDisposable.Create(cancelable, subscription);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions