Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 824 Bytes

sip.js.transaction.dispose.md

File metadata and controls

17 lines (10 loc) · 824 Bytes

Home > sip.js > Transaction > dispose

Transaction.dispose() method

Destructor. Once the transaction is in the "terminated" state, it is destroyed immediately and there is no need to call dispose. However, if a transaction needs to be ended prematurely, the transaction user may do so by calling this method (for example, perhaps the UA is shutting down). No state transition will occur upon calling this method, all outstanding transmission timers will be cancelled, and use of the transaction after calling dispose is undefined.

Signature:

dispose(): void;

Returns:

void