We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17e128b commit 66b3822Copy full SHA for 66b3822
1 file changed
src/main/java/the/bytecode/club/bytecodeviewer/SettingsSerializer.java
@@ -43,8 +43,7 @@ public class SettingsSerializer
43
44
public static void saveSettingsAsync()
45
{
46
- Thread saveThread = new Thread(SettingsSerializer::saveSettings, "Save Settings");
47
- saveThread.start();
+ BytecodeViewer.getTaskManager().doOnce(task -> saveSettings());
48
}
49
50
public static synchronized void saveSettings()
0 commit comments