destroy

Releases any resources that are being used.

Syntax

import messageHandler from '@vcita/intandem-app-com';	

// ...initialize the handler

messageHandler.destroy();

The SDK can't be initialized again after being destroyed. Re-initializing will be possible only after a page reload.