Tutorial: application.removeEventListener

application.removeEventListener

Removes a previously registered event listener from the specified event.

Example

var application = fin.desktop.Application.getCurrent();

application.removeEventListener("closed", previousCallback, function () {
    console.log("The unregistration was successful");
}, function (err) {
    console.log("failure:", err);
});