Tutorial: system.deleteCacheOnExit

system.deleteCacheOnExit

Clears all cached data when OpenFin Runtime exits.

Example

fin.desktop.System.deleteCacheOnExit(function () {
    console.log("successful");
},function (err) {
    console.log("failure: " + err);
});