Skip to content
Snippets Groups Projects
Commit c71db40f authored by tobias's avatar tobias
Browse files

Delete Webview Storage in Appdata Folder

parent 25444019
Branches
Tags
No related merge requests found
......@@ -35,6 +35,8 @@ import de.tobias.playpad.viewcontroller.main.MainViewControllerV2;
import de.tobias.playpad.viewcontroller.option.IProfileSettingsViewController;
import de.tobias.utils.application.ApplicationUtils;
import de.tobias.utils.application.container.PathType;
import de.tobias.utils.util.FileUtils;
import de.tobias.utils.util.SystemUtils;
import de.tobias.utils.util.Worker;
import javafx.scene.image.Image;
import net.xeoh.plugins.base.PluginManager;
......@@ -180,6 +182,13 @@ public class PlayPadImpl implements PlayPad {
e.printStackTrace();
}
try {
FileUtils.deleteDirectory(SystemUtils.getApplicationSupportDirectoryPath("de.tobias.playpad.PlayPadMain"));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
pluginManager.shutdown();
Worker.shutdown();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment