Commit f4c871e
Fix missing ticker.Stop() in pollForSettingChanges (#1148)
The pollForSettingChanges function creates a ticker but never calls
Stop() on it when the context is cancelled, leaking the ticker's
internal runtime timer.
Other functions in the same file (heartbeatLogLoop, reportQueueStatusLoop)
correctly use defer ticker.Stop(). This aligns with that pattern.
Note: pollForSettingChanges only runs when no notifier is configured
(poll-only mode), so this only affects non-LISTEN/NOTIFY setups.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent c449b62 commit f4c871e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| 860 | + | |
860 | 861 | | |
861 | 862 | | |
862 | 863 | | |
| |||
0 commit comments