code: public function removeSchedule(ScheduleInterface $schedule)
      {
          if($schedule instanceof Schedule)
          {
              $schedule->setJob(null);
          }
  
          parent::removeSchedule($schedule);
      }
docs: {@inheritdoc}