From aea8ff4961ecbad52bf03c51d2c7ef5ce1362d70 Mon Sep 17 00:00:00 2001 From: NickVs2015 Date: Tue, 3 Mar 2026 17:04:45 +0300 Subject: [PATCH] fix: add handle handleContextCreationFailure (#2309) --- client/ui/qml/main2.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/ui/qml/main2.qml b/client/ui/qml/main2.qml index bb7a675a3..1ab549601 100644 --- a/client/ui/qml/main2.qml +++ b/client/ui/qml/main2.qml @@ -56,6 +56,11 @@ Window { PageController.closeWindow() } + onSceneGraphError: function(error, message) { + // Prevent qFatal crash on Android when EGL context is lost + console.warn("Scene graph error:", error, message) + } + title: "AmneziaVPN" Item { // This item is needed for focus handling