XPLM_MSG_FMOD_BANK_UNLOADING
#define XPLM_MSG_FMOD_BANK_UNLOADING 113
Sent to your plugin before FMOD sound banks are unloaded. Any associated resources should be cleaned up at this point. The parameter is the XPLMBankID enum in XPLMSound.h, 0 for the master bank and 1 for the radio bank.