mirror of
https://github.com/buckit-io/buckit.git
synced 2026-09-24 11:26:17 +00:00
6b9805e891
RegisterNotificationTargets() cleans up all connections that it makes to notification targets when an error occurs during its execution. However there is a typo in the code that makes the function to always try to access to a nil pointer in the defer code since the function in question will always return nil in the case of any error. This commit fixes the typo in the code.