Skip to content

Commit

Permalink
Fix JVM not exiting after closing window
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jun 11, 2023
1 parent a1068a8 commit a20188f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/desktop/src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ fun main(reAuthorize: Boolean, onAuth: () -> Unit) {
}
}

fun startApplication() = application(
exitProcessOnExit = false
) {
fun startApplication() = application {
val sessionExpired = remember { mutableStateOf(false) }
var needsUpdate by remember { mutableStateOf(false) }
val exceptionHandler = ExceptionHandlerFactory {
Expand Down

0 comments on commit a20188f

Please sign in to comment.