Skip to content

Commit

Permalink
#1172 问题的解决 (#1173)
Browse files Browse the repository at this point in the history
Co-authored-by: xiezhicheng <xiezhicheng@xiaomi.com>
  • Loading branch information
blanexie and xiezhicheng authored Aug 6, 2024
1 parent 25c2d95 commit 2c135da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public Spider scheduler(Scheduler scheduler) {
*/
public Spider setScheduler(Scheduler updateScheduler) {
checkIfRunning();
SpiderScheduler oldScheduler = this.scheduler;
Scheduler oldScheduler = scheduler.getScheduler();
scheduler.setScheduler(updateScheduler);
if (oldScheduler != null) {
Request request;
Expand Down

0 comments on commit 2c135da

Please sign in to comment.