Unverified Commit b3fad60d authored by Dmitry Ishkov's avatar Dmitry Ishkov Committed by GitHub

use clearInterval instead of clearTimer on a timer (#10597)

Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 103e8226
...@@ -46,7 +46,7 @@ function EventSourceWrapper(options) { ...@@ -46,7 +46,7 @@ function EventSourceWrapper(options) {
return { return {
close: () => { close: () => {
clearTimeout(timer) clearInterval(timer)
source.close() source.close()
}, },
addMessageListener: function(fn) { addMessageListener: function(fn) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment