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

Closing a client using a NullUpdateProcessor crashes instead of closing #99

@dylanlingelbach

Description

@dylanlingelbach

If I create a Launch Darkly client that uses a NullUpdateProcessor and then I call close on that client, we will crash, because NullUpdateProcessor is currently defined without a close function:

function NullUpdateProcessor() {
  return {
    start: function(callback) {
      setImmediate(callback, null);
    }
  };
}

NullUpdateProcessor should define a no-op close function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions