Skip to content

fix: Fix nullref thrown in RestClient disposal

Mateusz Brawański requested to merge patch/rest-client-dispose into master

Created by: Neuheit

Summary

Fixes #697 (closed)

Details

If the client is immediately disposed at startup, the cancellation token is null and throws because there are no buckets in the rest client. This PR adds the appropriate null checks.

Changes proposed

  • Adds null checks to cancellation token in rest client disposal.

Merge request reports

Loading