Hi,
i have a folderlistener which listens if a new email has been added. if i close my applocation with
System.exit(0); then the lister is still active. how can i destroy this listener?
i have it in an own class. by closing my application i set the instance of my class = null:
PHP Code:
// clsEmail handle the mailevent
public class clsEmail implements FolderListener {
//...
//create
clsEmail myMail = new clsEmail(this);
//...
//destroy ???
myMail = null;
thanks hibbert