destroy method

void destroy()

Disconnects all websockets, removes all UIs, and invalidates this session. You cannot use any objects that were created in this session after you destroy it.

If you want to use TalkJS after having called destroy() you must instantiate a new Talk.Session instance.

Implementation

external void destroy();