code: public void free()
      {
      	if (m_recordOwnerCollection != null)
      		m_recordOwnerCollection.free();
      	m_recordOwnerCollection = null;
          if (m_application != null)
              m_application.removeTask(this);   // Remove this session from the list
      }
docs: Free all the resources belonging to this applet. If all applet screens are closed, shut down the applet.