You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the disconnect method of BotClient is called continuously the RTMTimer is generating a crash. The RTMPersistenceConnection is deallocating the timerSource and after that in the deinit, the timer.setEventHandler {} is accessing a bad reference because the timer is nil. The log error message from Xcode console is: Cannot form weak reference to instance (0x1c524bca0) of class KoreBotSDK.RTMTimer. It is possible that this object was over-released, or is in the process of deallocation.
Please see the following evidence:
BotClient.swift
RTMPersistenceConnection.swift
RTMPersistenceConnection.swift - RTMTimer
RTMPersistenceConnection.swift - RTMTimer
This is our crash report from Crashlytics:
The text was updated successfully, but these errors were encountered:
Issue found on iOS-Kore-SDK tag version
0.16
When the
disconnect
method of BotClient is called continuously the RTMTimer is generating a crash. The RTMPersistenceConnection is deallocating thetimerSource
and after that in thedeinit
, thetimer.setEventHandler {}
is accessing a bad reference because the timer is nil. The log error message from Xcode console is:Cannot form weak reference to instance (0x1c524bca0) of class KoreBotSDK.RTMTimer. It is possible that this object was over-released, or is in the process of deallocation.
Please see the following evidence:
BotClient.swift
RTMPersistenceConnection.swift
RTMPersistenceConnection.swift - RTMTimer
RTMPersistenceConnection.swift - RTMTimer
This is our crash report from Crashlytics:
The text was updated successfully, but these errors were encountered: