Skip to content

Commit a0e3e98

Browse files
authored
Apply suggestions from code review
1 parent 3038eec commit a0e3e98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.cursor/BUGBOT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ Do not flag the issues below if they appear in tests.
6161

6262
## Platform-safe code
6363

64-
- When any `setTimeout` or `setInterval` timers are started in a code path that can end up in server runtime packages (e.g. `@sentry/core` or `@sentry/node`), flag if neither `timeout.unref()` or `safeUnref()` are called.
65-
Not unref'ing a timer can cause CLI or node scripts to run longer than before, due to the process waiting on timers started by the SDK.
64+
- When any `setTimeout` or `setInterval` timers are started in a code path that can end up in server runtime packages (e.g. `@sentry/core` or `@sentry/node`), flag if neither `timeout.unref()` nor `safeUnref()` are called.
65+
Not unref'ing a timer can keep CLI-like applications or node scripts from exiting immediately, due to the process waiting on timers started by the SDK.

0 commit comments

Comments
 (0)