I'm just wondering, that after i add a record to the SDP... and exit the app, i usually do something like this in the destructor:
if (IsAdvertising())
{
//StopAdvertiser performs:
//iSdpDatabase.DeleteRecordL(iRecord)
//and...
//iRecord = 0
StopAdvertiser();
}
iSdpDatabase.Close();
iSdpSession.Close();
I notice that if i DON'T delete iRecord, and straightaway close iSdpDatabase and iSdpSession, the program exits fine. However, does this leave iRecord permanently in the emulator's SDP database when i quit the program?