code: function _oldStyleShareReplay (bufferSize, windowTime, scheduler) {
    let subject;
  
    const connectable = multicast(function shareReplaySubjectFactory () {
      if (this._isComplete) {
        return subject;
      } else {
        return (subject = new ReplaySubject(bufferSize, windowTime, scheduler));
      }
    });
    return (source) => refCount()(connectable(source));
  }
docs: eslint:disable /* We relied on faulty behavior fixed in https://github.com/ReactiveX/rxjs/commit/accbcd0c5f9fd5976be3f491d454c4a61f699c4b.
  This is the old shareReplay that tears down when refCount hits 0