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
"Receive is called after Client destroy" is always a bug of those, who uses TDLib. You should move call to client.DestroyInstance() to the thread, which calls receive, instead of testing your luck with Sleep.
You can also use new JSON interface (td_create_client_id/td_send/td_receive), which removes possibility to do this bug.
Hack of tdlib.go for DestroyInstance()
usage:
https://core.telegram.org/tdlib/docs/td__json__client_8h.html
The text was updated successfully, but these errors were encountered: