mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Previously super.stop() was called both inside the try block and after the catch blocks. On success it was invoked twice; on IOException it was never reached. Move super.stop() to a finally block so it executes exactly once regardless of whether close() succeeds or fails. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>