rename Destroy method

This commit is contained in:
Aleksandr Zelenin 2018-10-24 17:52:22 +03:00
parent a14f99bad2
commit 7e94393f03

View file

@ -90,7 +90,7 @@ func (jsonClient *JsonClient) Execute(req Request) (*Response, error) {
}
// Destroys the TDLib client instance. After this is called the client instance shouldn't be used anymore.
func (jsonClient *JsonClient) DestroyInstance() {
func (jsonClient *JsonClient) Destroy() {
C.td_json_client_destroy(jsonClient.jsonClient)
}