mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 19:05:02 -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.scene.text.TextFlow
|
||||||
import javafx.stage.Modality
|
import javafx.stage.Modality
|
||||||
import javafx.stage.Stage
|
import javafx.stage.Stage
|
||||||
|
import javafx.stage.Window
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.io.FileOutputStream
|
import java.io.FileOutputStream
|
||||||
import java.lang.management.ManagementFactory
|
import java.lang.management.ManagementFactory
|
||||||
@ -117,6 +118,10 @@ class ErosCrashReport : JavaFXWindowController() {
|
|||||||
// Kill some stuff
|
// Kill some stuff
|
||||||
tryCatch(executor = { DefaultThreadPool.shutdownNow() })
|
tryCatch(executor = { DefaultThreadPool.shutdownNow() })
|
||||||
|
|
||||||
|
for (window in Window.getWindows()) {
|
||||||
|
Platform.runLater { window.hide() }
|
||||||
|
}
|
||||||
|
|
||||||
val details = createCrashText(this)
|
val details = createCrashText(this)
|
||||||
|
|
||||||
var crashReportPath: String?
|
var crashReportPath: String?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user