Skip to content

Commit

Permalink
code4craft#1172 问题的解决
Browse files Browse the repository at this point in the history
  • Loading branch information
xiezhicheng committed Aug 6, 2024
1 parent 25c2d95 commit 582ea6e
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 582ea6e

Please sign in to comment.