mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 10:25:06 -04:00
eros: crash screen: hide all other windows
This commit is contained in:
parent
69ffca6d62
commit
ba57efa4be
@ -36,6 +36,7 @@ import javafx.scene.control.TextArea
|
||||
import javafx.scene.text.TextFlow
|
||||
import javafx.stage.Modality
|
||||
import javafx.stage.Stage
|
||||
import javafx.stage.Window
|
||||
import java.io.File
|
||||
import java.io.FileOutputStream
|
||||
import java.lang.management.ManagementFactory
|
||||
@ -117,6 +118,10 @@ class ErosCrashReport : JavaFXWindowController() {
|
||||
// Kill some stuff
|
||||
tryCatch(executor = { DefaultThreadPool.shutdownNow() })
|
||||
|
||||
for (window in Window.getWindows()) {
|
||||
Platform.runLater { window.hide() }
|
||||
}
|
||||
|
||||
val details = createCrashText(this)
|
||||
|
||||
var crashReportPath: String?
|
||||
|
Loading…
x
Reference in New Issue
Block a user