LearnNewsExamplesServices
Frontmatter
id6138
titlecore.Base: timeout() => typo
stateClosed
labels
bug
assigneestobiu
createdAtDec 14, 2024, 1:53 PM
updatedAtDec 14, 2024, 1:55 PM
githubUrlhttps://github.com/neomjs/neo/issues/6138
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 14, 2024, 1:55 PM

core.Base: timeout() => typo

Closed v8.1.0 bug
tobiu
tobiu commented on Dec 14, 2024, 1:53 PM
timeoutIds.splice(timeoutIds.indexOf(timeoutId, 1))

should obviously be:

timeoutIds.splice(timeoutIds.indexOf(timeoutId), 1)

while indexOf() does have a 2nd optional param fromIndex, the goal was to pass the 1 as a 2nd param to splice to remove the found item.

tobiu added the bug label on Dec 14, 2024, 1:53 PM
tobiu assigned to @tobiu on Dec 14, 2024, 1:53 PM
tobiu referenced in commit 282f474 - "core.Base: timeout() => typo #6138" on Dec 14, 2024, 1:55 PM
tobiu closed this issue on Dec 14, 2024, 1:55 PM