Called when the session is closed by the user. The prototype of this function has no parameters and any returned value is ignored.
Declared as follows:
function onClose()
{
}
Bind your onClose the FVMsgApi.ConnectMsgFVTerm or ConnectFVTerm function callback as follows:
fvApi.onclose = onClose;