#1172 问题的解决 (#1173)

Co-authored-by: xiezhicheng <xiezhicheng@xiaomi.com>
pull/1012/merge
xiezcGitHub 6 months ago committed by GitHub
parent 25c2d95e96
commit 2c135dadce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -187,7 +187,7 @@ public class Spider implements Runnable, Task {
*/
public Spider setScheduler(Scheduler updateScheduler) {
checkIfRunning();
SpiderScheduler oldScheduler = this.scheduler;
Scheduler oldScheduler = scheduler.getScheduler();
scheduler.setScheduler(updateScheduler);
if (oldScheduler != null) {
Request request;

Loading…
Cancel
Save