Skip to content

Commit fbb5c1e

Browse files
committed
fix: correctly clearTimeout
1 parent 16f3dfa commit fbb5c1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/graphql-playground-react/src/components/Playground/util/fibonacci-backoff.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ export class Backoff {
3232
}
3333
stop = () => {
3434
this.running = false
35+
clearTimeout(this.timeout)
3536
}
3637
}

0 commit comments

Comments
 (0)