desktop: prevent deadlock (#2785)

* desktop: prevent deadlock

* debug info
This commit is contained in:
Stanislav Dmitrenko
2023-07-27 15:59:06 +01:00
committed by GitHub
parent bb02f07370
commit d77980e50e
3 changed files with 18 additions and 9 deletions
@@ -30,8 +30,16 @@ kotlin {
compose {
desktop {
application {
// For debugging via VisualVM
/*jvmArgs += listOf(
"-Dcom.sun.management.jmxremote.port=8080",
"-Dcom.sun.management.jmxremote.ssl=false",
"-Dcom.sun.management.jmxremote.authenticate=false"
)*/
mainClass = "chat.simplex.desktop.MainKt"
nativeDistributions {
// For debugging via VisualVM
//modules("jdk.zipfs", "jdk.management.agent")
modules("jdk.zipfs")
//includeAllModules = true
outputBaseDir.set(project.file("../release"))