# Infinity loader on the SBUChannelViewController

**URL:** <https://community.sendbird.com/t/infinity-loader-on-the-sbuchannelviewcontroller/4215>\
**Category:** iOS\
**Tags:** ios, uikit\
**Created:** [March 17, 2022, 4:08pm UTC](https://community.sendbird.com/t/infinity-loader-on-the-sbuchannelviewcontroller/4215 "2022-03-17T16:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Vovk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/eugene_vovk/32/2218_2.png) [@Eugene\_Vovk](https://community.sendbird.com/u/Eugene_Vovk)\
**Post date:** [March 17, 2022, 4:08pm UTC](https://community.sendbird.com/t/infinity-loader-on-the-sbuchannelviewcontroller/4215/1 "2022-03-17T16:08:10Z")

</div>

SendBirdSDK v3.1.5  
SendBirdUIKit v2.2.4

When the connection to the Internet is lost, an eternal loader appears and when you reconnect it does not disappear and there is no way to close the screen

---

<div class="post-metadata">

**Author:** ![Tez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tez/32/146_2.png) [@Tez](https://community.sendbird.com/u/Tez)\
**Post date:** [March 18, 2022, 6:11am UTC](https://community.sendbird.com/t/infinity-loader-on-the-sbuchannelviewcontroller/4215/2 "2022-03-18T06:11:53Z")

</div>

Hello @Eugene_Vovk ,

Thank you for reporting the problem.  
I checked the logic for the problem you reported and I will fix it and distribute it in the next version.  
But if you need to fix it before the next version distribution, you can modify and use the code in advance through an override.

```auto
class CustomChannelViewController: SBUChannelViewController {
    override func errorHandler(_ message: String?, _ code: NSInteger? = nil) {
        super.errorHandler(message, code)
        self.shouldDismissLoadingIndicator()
    }
}

```
