mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
clearInterval
This commit is contained in:
parent
237c621182
commit
715c717dfd
|
@ -61,8 +61,10 @@ export default function SaveConfigAndRestart({onBack, onRestarted}) {
|
||||||
setResponse(resp);
|
setResponse(resp);
|
||||||
|
|
||||||
setupRestart((resp) => {
|
setupRestart((resp) => {
|
||||||
setInterval(function() {
|
let t
|
||||||
|
t = setInterval(function() {
|
||||||
ping(() => {
|
ping(() => {
|
||||||
|
clearInterval(t)
|
||||||
push("/");
|
push("/");
|
||||||
})
|
})
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user